Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
Update Dockerfile to copy @vertex-center/components
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Guidée <[email protected]>
  • Loading branch information
quentinguidee committed Feb 18, 2024
1 parent 59b5e91 commit a4843cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/node_modules
5 changes: 1 addition & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ FROM --platform=$BUILDPLATFORM node:alpine3.19 AS build

WORKDIR /app

COPY ../package.json package-lock.json ./

RUN npm install

COPY .. .

RUN npm install
RUN npm run build

FROM nginx:alpine3.18-slim
Expand Down

0 comments on commit a4843cd

Please sign in to comment.