|
|
@ -8,5 +8,6 @@ RUN yarn run build |
|
|
|
|
|
|
|
|
# étape de production |
|
|
# étape de production |
|
|
FROM node:lts-alpine as production-stage |
|
|
FROM node:lts-alpine as production-stage |
|
|
|
|
|
COPY . . |
|
|
COPY --from=build-stage /app/dist ./dist |
|
|
COPY --from=build-stage /app/dist ./dist |
|
|
CMD ["node", "dist/main"] |
|
|
CMD ["node", "dist/main"] |