From 4bf127d93a0c869e0a3dc5d2171476755e7ffb65 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 Nov 2019 21:01:44 +0000 Subject: [PATCH] Add dockerfile --- Dockerfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..0bdbf90c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM debian:buster-slim +ENV DOMAIN=localhost +RUN apt-get update && \ + apt-get -y install \ + imagemagick \ + python3-crypto \ + python3-dateutil \ + python3-idna \ + python3-numpy \ + python3-pil.imagetk \ + python3-pip \ + python3-setuptools \ + python3-socks \ + tor && \ + pip3 install requests beautifulsoup4 pycryptodome +RUN adduser --system --home=/opt/epicyon --group epicyon +COPY --chown=epicyon:epicyon . /app +EXPOSE 80 7156 +CMD /usr/bin/python3 \ + /app/epicyon.py \ + --port 80 \ + --proxy 7156 \ + --registration open \ + --domain $DOMAIN \ + --path /app \ No newline at end of file