Created
April 28, 2018 16:55
-
-
Save yakubenko/2dae30a5b56b45d74ba4fbe73734976b to your computer and use it in GitHub Desktop.
This file contains 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 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