|
|
@ -8,5 +8,5 @@ RUN yarn run build |
|
|
|
|
|
|
|
|
# étape de production |
|
|
# étape de production |
|
|
FROM nginx:stable-alpine as production-stage |
|
|
FROM nginx:stable-alpine as production-stage |
|
|
COPY --from=build-stage /app/dist /usr/share/nginx/html |
|
|
|
|
|
|
|
|
COPY --from=build-stage /app/dist ./dist |
|
|
CMD ["nginx", "-g", "daemon off;"] |
|
|
CMD ["nginx", "-g", "daemon off;"] |