You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
252 B

FROM python:3.7-slim
ADD . /code
WORKDIR /code
RUN \
groupadd -r webssh && \
useradd -r -s /bin/false -g webssh webssh && \
chown -R webssh:webssh /code && \
pip install -r requirements.txt
EXPOSE 8888/tcp
USER webssh
CMD ["python", "run.py"]