Spaces:
Sleeping
Sleeping
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
# you will also find guides on how best to write your Dockerfile | |
FROM python:3.9 | |
RUN apt-get update && apt-get upgrade -y && \ | |
apt-get install -y wget qemu-system-x86 | |
WORKDIR /app | |
COPY . . | |
RUN wget -O kali-linux.iso https://old.kali.org/kali-images/kali-2024.4/kali-linux-2024.4-installer-netinst-amd64.iso && chmod +rwx kali-linux.iso && ls -a | |
EXPOSE 7860 5900 | |
CMD ["python3", "app.py"] |