Skip to content

Commit

Permalink
seperate yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
LarmuseauNiels committed Mar 22, 2023
1 parent 06bd7d9 commit 75cbf60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion captain-definition
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"RUN mkdir -p /usr/src/app",
"WORKDIR /usr/src/app",
"COPY ./package.json /usr/src/app/",
"RUN npm install -g -s --no-progress yarn && yarn",
"RUN npm install -g -s --no-progress yarn",
"RUN yarn install --production",
"COPY ./ /usr/src/app",
"RUN npx prisma generate",
"ENV NODE_ENV production",
Expand Down

0 comments on commit 75cbf60

Please sign in to comment.