Created
July 11, 2021 09:21
-
-
Save ChewySalmon/7b71ef61bbcad1cf6edc3e558ef8bc30 to your computer and use it in GitHub Desktop.
Nginx web dockerfile
This file contains hidden or 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
FROM nginx:1.21 | |
COPY vhost.conf /etc/nginx/conf.d/default.conf | |
RUN ln -sf /dev/stdout /var/log/nginx/access.log \ | |
&& ln -sf /dev/stderr /var/log/nginx/error.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment