Skip to content

Instantly share code, notes, and snippets.

@leandromoreira
Created February 6, 2016 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leandromoreira/f5126e759a785d905f69 to your computer and use it in GitHub Desktop.
Save leandromoreira/f5126e759a785d905f69 to your computer and use it in GitHub Desktop.
# we'll build our container from an existent image :)
FROM nginx
# for some reason we need to create this folder
RUN mkdir -p /var/lib/nginx/proxy
# copy our app config to nginx
COPY sites-enabled/myapp.conf /etc/nginx/nginx.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment