2021-07-22 21:28:57 +00:00
|
|
|
FROM debian:bullseye-slim
|
2019-11-28 21:01:44 +00:00
|
|
|
ENV DOMAIN=localhost
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get -y install \
|
|
|
|
imagemagick \
|
2021-02-04 16:30:32 +00:00
|
|
|
python3-cryptography \
|
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-pip \
|
|
|
|
python3-setuptools \
|
|
|
|
python3-socks \
|
2020-06-11 22:29:33 +00:00
|
|
|
python3-idna \
|
|
|
|
libimage-exiftool-perl \
|
|
|
|
python3-flake8 \
|
2020-06-19 20:47:22 +00:00
|
|
|
python3-django-timezone-field \
|
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
|