Skip to content

Commit

Permalink
Build prod docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjourne committed Oct 24, 2023
1 parent ea5164b commit de8fbf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions deployments/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ spec:
- name: frontend
image: ghcr.io/datalab-mi/ridoc-frontend:${APP_VERSION}
imagePullPolicy: Always
args:
- run
- build
command:
- npm
ports:
- name: node
containerPort: 3000
Expand Down
1 change: 1 addition & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ EXPOSE 3000
USER node:node
WORKDIR /app
COPY --from=build --chown=node:node /app/__sapper__/build ./build
COPY --from=build --chown=node:node /app/static ./static
COPY --from=build --chown=node:node /app/node_modules ./node_modules
COPY --from=base --chown=node:node /app/ViewerJS ./ViewerJS
COPY --chown=node:node package.json .
Expand Down

0 comments on commit de8fbf5

Please sign in to comment.