mirror of
https://github.com/huashengdun/webssh.git
synced 2026-02-14 19:59:51 +00:00
13 lines
252 B
Docker
13 lines
252 B
Docker
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"]
|