Created
December 24, 2017 15:20
-
-
Save skeptomai/ff2845beb046dbc71ec9d6e30595f773 to your computer and use it in GitHub Desktop.
docker static media
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 | |
RUN mkdir -p /usr/share/nginx/media && \ | |
chmod aog+x /usr/share/nginx/media | |
# ADD Music/ /usr/share/nginx/media/ | |
COPY conf.d/default.conf /etc/nginx/conf.d/default.conf | |
# run with | |
# docker run --name nightvale -p 8443:443 -p 8080:80 -v $(pwd)/Music:/usr/share/nginx/media skeptomai/nginx-nightvale:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment