Last active
August 26, 2021 01:01
-
-
Save DevserIgor/e351b381fc02f9b37bbe1e9da6a8b7e9 to your computer and use it in GitHub Desktop.
nginx.dockerfile-example
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
FROM nginx:latest | |
MAINTAINER Douglas Quintanilha | |
COPY /public /var/www/public | |
COPY /docker/config/nginx.conf /etc/nginx/nginx.conf | |
RUN chmod 755 -R /var/www/public | |
EXPOSE 80 443 | |
ENTRYPOINT ["nginx"] | |
# Parametros extras para o entrypoint | |
CMD ["-g", "daemon off;"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dockerfile nginx