From 50cfdec141f6fc041ad3a53955c9db0f08c93a94 Mon Sep 17 00:00:00 2001 From: Taks07 Date: Tue, 7 May 2024 13:41:38 +1200 Subject: [PATCH] Changed dockerfile again --- web/Dockerfile.production | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/Dockerfile.production b/web/Dockerfile.production index d94e688..1ea005e 100644 --- a/web/Dockerfile.production +++ b/web/Dockerfile.production @@ -40,11 +40,12 @@ RUN yarn install --production=true FROM nginx # Copy built application -COPY --from=build /src/public ./ COPY --from=build /app/dist /usr/share/nginx/html COPY --link _redirects /usr/share/nginx/html/_redirects COPY nginx.conf /etc/nginx/nginx.conf +# Serve the public folder +COPY --link public /usr/share/nginx/html/public # Start the server by default, this can be overwritten at runtime EXPOSE 80