Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthparmar7 authored Dec 18, 2019
1 parent cec42e2 commit 0015c21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ FROM node:10-alpine
WORKDIR /usr/src/app
COPY package.json .

RUN npm install -g yarn && yarn install
RUN yarn install
COPY . .

WORKDIR /usr/src/app
RUN yarn prisma deploy --force
CMD ["yarn", "start"]
CMD ["yarn", "start"]

0 comments on commit 0015c21

Please sign in to comment.