diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7064b2f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM debian:jessie + +RUN apt-get update + +RUN apt-get install -y curl + +ENV VANITY_URL https://github.com/xiam/vanity/releases/download/v0.1.1/vanity_linux_amd64.gz + +RUN curl --silent -L ${VANITY_URL} | gzip -d > /bin/vanity + +RUN chmod +x /bin/vanity + +RUN mkdir -p /var/run/vanity + +EXPOSE 8080 + +ENTRYPOINT ["/bin/vanity"] |