diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..a59a9334 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.7-alpine3.10 +WORKDIR /SILENTTRINITY +RUN apk upgrade --update-cache --available +RUN apk add build-base +RUN apk add bzip2-dev zlib-dev sqlite-dev readline-dev libbz2 \ +ncurses-dev wget libffi-dev xz-dev openssl-dev tk-dev llvm ipython +RUN pip install shiv +RUN pip install ipython +COPY requirements.txt . +RUN pip install -r requirements.txt +COPY . ./ +EXPOSE 80 443 5000 8080 +ENTRYPOINT ["python3.7", "st.py", "teamserver", "${HOST_IP}", "${PASSWORD}"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..5632b388 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: "3" +services: + server: + build: ./ + network_mode: host + ports: + - 80:80 + - 443:443 + - 5000:5000 + - 8080:8080 + entrypoint: ["python3.7", "st.py", "teamserver", "${HOST_IP}", "${PASSWORD}"] diff --git a/requirements.txt b/requirements.txt index a6d817e5..b32c0f94 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,7 +9,7 @@ blinker==1.4 certifi==2019.9.11 cffi==1.13.1 chardet==3.0.4 -click==7.0 +click==6.7 cryptography==2.8 defusedxml==0.6.0 dnslib==0.9.10 @@ -21,6 +21,7 @@ hpack==3.0.0 hypercorn==0.6.0 hyperframe==5.2.0 idna==2.8 +impacket==0.9.20 itsdangerous==1.1.0 jinja2==2.10.3 ldap3==2.5.1