- add install yarn command to dockerfile
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
oonyeje 2023-12-01 10:02:41 -05:00
parent 6742eb4442
commit 0e0e10bfe5

View File

@ -16,9 +16,10 @@ FROM base as runtime
WORKDIR /home/node/app
COPY package*.json ./
# RUN yarn install --production
# COPY --from=builder /home/node/app/dist ./dist
# COPY --from=builder /home/node/app/build ./build
RUN npm install yarn
RUN yarn install --production
COPY --from=builder /home/node/app/dist ./dist
COPY --from=builder /home/node/app/build ./build
EXPOSE 3000