Skip to content

Instantly share code, notes, and snippets.

@yakubenko
Created April 28, 2018 16:55
Show Gist options
  • Save yakubenko/2dae30a5b56b45d74ba4fbe73734976b to your computer and use it in GitHub Desktop.
Save yakubenko/2dae30a5b56b45d74ba4fbe73734976b to your computer and use it in GitHub Desktop.
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y nginx
RUN mkdir /var/www/app/
RUN apt-get install -y iputils-ping wget
COPY ./default_site /etc/nginx/sites-available/default
VOLUME /var/www/app
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment