Created
March 1, 2019 18:51
-
-
Save lukaszlach/7c7b6de247055e2571914d04cb7f0a4e to your computer and use it in GitHub Desktop.
Dockerfile webproc
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 debian:stretch-slim | |
RUN apt-get update && \ | |
apt-get install -y nginx wget && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN wget https://github.com/jpillora/webproc/releases/download/0.2.2/webproc_linux_amd64.gz && \ | |
zcat webproc_linux_amd64.gz > /webproc && \ | |
rm -f webproc_linux_amd64.gz && \ | |
chmod +x /webproc | |
ENTRYPOINT ["/webproc", "--config", "/etc/nginx/nginx.conf,/etc/nginx/sites-enabled/default", "--"] | |
CMD ["nginx", "-g", "daemon off;"] | |
EXPOSE 8080/tcp 80/tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment