Skip to content

Commit

Permalink
FEAT: Optimized Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
thinley4 committed Oct 21, 2024
1 parent 9e44e79 commit a24579a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ FROM node:20.12.0-alpine3.19

WORKDIR /app

COPY package* .
COPY . .

RUN cd web && npm install

RUN cd web && npx prisma generate

COPY . .

RUN cd web && npm run build

CMD ["npm", "run", "start"]

0 comments on commit a24579a

Please sign in to comment.