diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7f1f69b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM python:3.7-slim +ADD . /code +WORKDIR /code +RUN pip install -r requirements.txt +CMD ["python", "run.py"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..315cee6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +version: '3' +services: + web: + build: . + ports: + - "8888:8888" diff --git a/run.py b/run.py new file mode 100644 index 0000000..0585233 --- /dev/null +++ b/run.py @@ -0,0 +1,5 @@ +from webssh.main import main + + +if __name__ == '__main__': + main()