Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
-
FROM
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /usr/src/app
|
@@ -7,6 +7,8 @@ WORKDIR /usr/src/app
|
|
7 |
# Create the output directory and set appropriate permissions
|
8 |
RUN mkdir -p /usr/src/app && chmod -R 777 /usr/src/app
|
9 |
|
|
|
|
|
10 |
# Install masscan (you can adjust this if you're using a different tool)
|
11 |
RUN apt-get update && \
|
12 |
apt-get install -y masscan libpcap-dev && \
|
|
|
1 |
# Use an official Python runtime as a parent image
|
2 |
+
FROM debian
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /usr/src/app
|
|
|
7 |
# Create the output directory and set appropriate permissions
|
8 |
RUN mkdir -p /usr/src/app && chmod -R 777 /usr/src/app
|
9 |
|
10 |
+
RUN apt-get update && apt-get install python3 -y
|
11 |
+
|
12 |
# Install masscan (you can adjust this if you're using a different tool)
|
13 |
RUN apt-get update && \
|
14 |
apt-get install -y masscan libpcap-dev && \
|