Skip to content

Instantly share code, notes, and snippets.

@ropnop
Created July 18, 2019 01:16
Show Gist options
  • Save ropnop/7b11807b99e223600335d199724f03c3 to your computer and use it in GitHub Desktop.
Save ropnop/7b11807b99e223600335d199724f03c3 to your computer and use it in GitHub Desktop.
Nginx server Dockerfile
FROM nginx:stable
RUN apt-get update && apt-get install -y openssl
RUN mkdir -p /etc/nginx/ssl && mkdir -p /srv/data
COPY default.conf /etc/nginx/conf.d/
COPY start.sh /
ENTRYPOINT [ "/start.sh" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment