mirror of https://github.com/huashengdun/webssh
Added docker support
parent
f400367eac
commit
46d1e5b091
|
@ -0,0 +1,5 @@
|
||||||
|
FROM python:3.7-slim
|
||||||
|
ADD . /code
|
||||||
|
WORKDIR /code
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
CMD ["python", "run.py"]
|
|
@ -0,0 +1,6 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8888:8888"
|
Loading…
Reference in New Issue