Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

Dockerfile 807B

123456789101112131415161718192021
  1. FROM nginx
  2. ### Copy files from the temp build
  3. COPY ./nginx/temp/index.html /opt/<CHANGE_ME>/public/index.html
  4. ### Setup SSL
  5. RUN mkdir -p /etc/ssl/private && chmod 700 /etc/ssl/private
  6. RUN mkdir -p /etc/ssl/certs && chmod 700 /etc/ssl/certs
  7. ### Copy the SSL Certificate and Key
  8. COPY ./nginx/keys/letsencrypt.key /etc/ssl/private/letsencrypt.key
  9. COPY ./nginx/keys/letsencrypt.crt /etc/ssl/certs/letsencrypt.crt
  10. ### Configure Nginx to Use SSL
  11. RUN mkdir -p /etc/nginx/snippets
  12. COPY ./nginx/configs/letsencrypt.conf /etc/nginx/snippets/letsencrypt.conf
  13. COPY ./nginx/configs/ssl-params.conf /etc/nginx/snippets/ssl-params.conf
  14. ### Move over the nginx.conf and default.config server configs
  15. COPY ./nginx/configs/default.conf /etc/nginx/conf.d/default.conf
  16. COPY ./nginx/configs/nginx.conf /etc/nginx/nginx.conf