Update Dockerfile

This commit is contained in:
Dome
2025-03-28 14:49:27 +01:00
committed by GitHub
parent 84db9ecc9e
commit 521b2adf67
+3 -1
View File
@@ -7,8 +7,10 @@ COPY . .
# Stage 2: Production # Stage 2: Production
FROM nginx:latest FROM nginx:latest
WORKDIR /etc/nginx
COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=build /app/build /usr/share/nginx/html WORKDIR /usr/share/nginx/html
COPY --from=build /app/build .
# Expose port 80 # Expose port 80
EXPOSE 80 EXPOSE 80