Add Nginx configuration for serving built React application

This commit is contained in:
evansvl
2026-01-17 19:25:39 +03:00
parent 0b641129f3
commit 37c14f969f
2 changed files with 30 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ FROM nginx:alpine
# Copy built assets from builder stage
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Expose port
EXPOSE 80