Skip to content

Commit

Permalink
simplifying the dockerfile
Browse files Browse the repository at this point in the history
Co-authored-by: Jordi Anguela <jordi@codium.team>
  • Loading branch information
luisrovirosa and jordianguela committed Feb 4, 2025
1 parent 16115f6 commit 9a76869
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,5 @@ WORKDIR /code
COPY --chown=node:node .npmrc package-lock.json package.json ./
RUN npm install
COPY --chown=node:node . .
RUN npm run build

VOLUME ["/code", "/code/node_modules"]


FROM nginx AS server

COPY --from=builder /code/dist /usr/share/nginx/html

0 comments on commit 9a76869

Please sign in to comment.