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