New Dockerfile and requirements

This commit is contained in:
Paul Asadoorian
2022-01-31 15:12:28 -05:00
parent ed581ebb0a
commit 0a970ce85d
2 changed files with 20 additions and 7 deletions
+19 -6
View File
@@ -1,12 +1,25 @@
FROM alpine:edge
FROM ubuntu:20.04
RUN apt-get update && \
apt-get install -y --no-install-recommends \
python3 \
python3-pip \
openssl \
ca-certificates \
python3-dev \
build-essential \
wget \
git \
&& \
rm -fr /var/lib/apt/lists/*
RUN git clone https://github.com/trustedsec/trevorc2.git
RUN apk --update add --no-cache python3 py3-requests py3-pip openssl ca-certificates
RUN apk --update add --virtual build-dependencies python3-dev build-base wget git \
&& git clone https://github.com/trustedsec/trevorc2.git
WORKDIR trevorc2
#COPY requirements.txt .
COPY requirements.txt .
RUN pip3 install -r requirements.txt
EXPOSE 80 443
ENTRYPOINT ["python3", "trevorc2_server.py"]
CMD ["python3", "trevorc2_server.py"]
+1 -1
View File
@@ -1,4 +1,4 @@
bleach
tornado
pycrypto
pycryptodome
requests