Created
October 13, 2015 13:57
-
-
Save pintux/48690dac1c457d0af205 to your computer and use it in GitHub Desktop.
Dockerfile to build a NGINX image including a simple configuration file for NGINX server
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 | |
MAINTAINER Antonio Pintus | |
RUN mkdir /etc/nginx/logs/ | |
RUN touch /etc/nginx/logs/error.log | |
# copy and use the customized conf file | |
COPY nginx.conf /etc/nginx/nginx.conf | |
EXPOSE 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment