Skip to content

Commit

Permalink
update frontend Dockerfile to use nginx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
liberty-rising committed Jan 5, 2024
1 parent 8fe94b0 commit e3b9575
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ RUN npm run build
# Stage 2: Serve the app with Nginx
FROM nginx:stable-alpine3.17

# Copy the custom Nginx configuration
COPY nginx.prod.conf /etc/nginx/conf.d/default.conf

# Copy the build output to replace the default nginx contents.
COPY --from=build /app/dist /usr/share/nginx/html

Expand Down

0 comments on commit e3b9575

Please sign in to comment.