Update Dockerfile

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