Skip to content

Commit

Permalink
Fix dockerfile for prod with yarn --prod (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsschmitt authored Mar 18, 2022
1 parent 61b7955 commit ab2ab4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV NODE_ENV production
COPY package.json yarn.lock ./

# install dev dependencies too
RUN set -x && yarn --prod=false
RUN set -x && yarn --prod=true

COPY . .
RUN set -x && yarn run prestart:prod
Expand Down

0 comments on commit ab2ab4d

Please sign in to comment.