Created
October 14, 2020 07:19
-
-
Save StanGirard/3fb49dfa13ea2f5cb6e0d6c554539790 to your computer and use it in GitHub Desktop.
Add Nginx Stage to Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Add to your existing Dockerfile | |
... | |
# ------------------------------------------------------ | |
# Production Build | |
# ------------------------------------------------------ | |
FROM nginx | |
COPY nginx.conf /etc/nginx/conf.d/default.conf | |
COPY --from=builder /app/build /usr/share/nginx/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment