Skip to content

Commit

Permalink
Test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
thinley4 committed Oct 25, 2024
1 parent b719b0f commit 78fa306
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ FROM node:20.12.0-alpine3.19

WORKDIR /app

COPY . .
COPY package*.json ./

RUN npm install

RUN cd web && npm install
COPY . .

RUN cd web && npx prisma generate
RUN npx prisma generate

RUN cd web && npm run build
RUN npm run build

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

0 comments on commit 78fa306

Please sign in to comment.