webssh

Web based ssh client https://github.com/huashengdun/webssh webssh.huashengdun.org/
git clone http://git.hanabi.in/repos/webssh.git
Log | Files | Refs | README | LICENSE

commit 2f0d5809ae4962c5ba5d07b96de45588d959d904
parent 7b8f473ba60b3330c95ac22bfc214a0016e0fa07
Author: Shengdun Hua <webmaster0115@gmail.com>
Date:   Thu, 11 Mar 2021 23:01:31 +0800

Merge pull request #209 from svengo/patch-1

Update Dockerfile
Diffstat:
MDockerfile | 9++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile @@ -1,5 +1,12 @@ FROM python:3.7-slim ADD . /code WORKDIR /code -RUN pip install -r requirements.txt +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"]