Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +17 -0
Dockerfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
+
# you will also find guides on how best to write your Dockerfile
|
| 3 |
+
|
| 4 |
+
FROM python:3.9
|
| 5 |
+
|
| 6 |
+
RUN apt-get update && apt-get upgrade -y && \
|
| 7 |
+
apt-get install -y wget qemu-system-x86
|
| 8 |
+
|
| 9 |
+
WORKDIR /app
|
| 10 |
+
|
| 11 |
+
COPY . .
|
| 12 |
+
|
| 13 |
+
RUN wget -O kali-linux.iso https://old.kali.org/kali-images/kali-2024.4/kali-linux-2024.4-installer-netinst-amd64.iso
|
| 14 |
+
|
| 15 |
+
EXPOSE 7860 5900
|
| 16 |
+
|
| 17 |
+
CMD ["python3", "app.py"]
|