Skip to content

Instantly share code, notes, and snippets.

@georgerussellpruitt
Last active January 4, 2019 16:06
Show Gist options
  • Save georgerussellpruitt/57ea30046d9c4be6cc17a7ac7b60dd5c to your computer and use it in GitHub Desktop.
Save georgerussellpruitt/57ea30046d9c4be6cc17a7ac7b60dd5c to your computer and use it in GitHub Desktop.
FROM nginx
# Define mountable directories.
VOLUME ["/etc/nginx/sites-enabled", "/etc/nginx/certs", "/etc/nginx/conf.d", "/var/log/nginx", "/var/www/html"]
# pass config to docker here
# copy existing app code
RUN mkdir /app
RUN mkdir /nginx-conf
RUN mkdir /var/www/html/WordPress
COPY ./prime-stack/WordPress /var/www/html/WordPress
RUN mkdir /var/www/html/WordPress/wp-content/themes/prime-themes
COPY ./prime-stack/prime-theme /var/www/html/WordPress/wp-content/themes/prime-theme
COPY ./prime-stack/prime-plugins/ /var/www/html/WordPress/wp-content/plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment