Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherJMiller committed Dec 16, 2023
1 parent 71d5ac0 commit e02b2e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ FROM node:current

WORKDIR /app

ADD yarn.lock .
ADD api/package.json .

ENV NODE_ENV production

RUN yarn install --focus

COPY --from=builder /build/api/dist /app

CMD [ "node", "main.js" ]

0 comments on commit e02b2e7

Please sign in to comment.