epicyon/Dockerfile

30 lines
680 B
Docker
Raw Normal View History

2019-11-28 21:01:44 +00:00
FROM debian:buster-slim
ENV DOMAIN=localhost
RUN apt-get update && \
apt-get -y install \
imagemagick \
python3-crypto \
2020-06-11 22:29:33 +00:00
python3-cryptodome \
2019-11-28 21:01:44 +00:00
python3-dateutil \
python3-idna \
2020-06-11 22:29:33 +00:00
python3-requests \
2019-11-28 21:01:44 +00:00
python3-numpy \
python3-pil.imagetk \
python3-pip \
python3-setuptools \
python3-socks \
2020-06-11 22:29:33 +00:00
python3-idna \
libimage-exiftool-perl \
python3-flake8 \
2020-06-15 16:02:16 +00:00
python3-pyld \
2020-06-11 22:29:33 +00:00
tor
2019-11-28 21:01:44 +00:00
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