fixup! refacto(Dockerfile): optimized with new setup

This commit is contained in:
Florent Chehab 2020-04-20 10:33:22 +02:00
parent 810ed89337
commit 59a229b1fb
No known key found for this signature in database
GPG Key ID: 9A0CE018889EA246

View File

@ -32,7 +32,7 @@ COPY ./package.json ./package-lock.json ./
RUN npm ci --only=prod RUN npm ci --only=prod
COPY scripts ./scripts COPY scripts ./scripts
COPY --from=base /opt/app/public ./public COPY --from=base /opt/app/dist ./dist
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT [ "npm", "run", "start:prod-no-build" ] ENTRYPOINT [ "npm", "run", "start:prod-no-build" ]