Fixed libpcap

This commit is contained in:
Lukian 2024-12-10 14:10:59 +01:00
parent 556380e4f1
commit baf35c6ccc

View file

@ -1,7 +1,13 @@
FROM python:alpine FROM python:alpine
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN apk add libpcap bash && pip install -r requirements.txt RUN apk add \
gcc \
libpcap-dev \
musl-dev \
libffi-dev \
openssl-dev \
&& pip install -r requirements.txt
EXPOSE 80 EXPOSE 80
CMD ["python", "-u", "main.py"] CMD ["python", "-u", "main.py"]