From b2d94cef31f75412fbb2969c05b52a0554797a4f Mon Sep 17 00:00:00 2001 From: Peter Morton Date: Sun, 25 Jun 2023 19:28:41 -0500 Subject: [PATCH] Docker image needs to override nginx.conf for vue application --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8756aae..9b7fa04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN npm run build # 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 /app +COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file