Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +21 -0
Dockerfile
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use an official Ubuntu base image
|
2 |
+
FROM kalilinux/kali-rolling
|
3 |
+
|
4 |
+
WORKDIR /code
|
5 |
+
|
6 |
+
COPY . /code
|
7 |
+
# Update the package lists
|
8 |
+
RUN apt-get update
|
9 |
+
|
10 |
+
# Install system packages
|
11 |
+
RUN apt-get install -y grep git python3 python3-pip coreutils curl
|
12 |
+
|
13 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
14 |
+
|
15 |
+
# Copy the rest of your application files
|
16 |
+
|
17 |
+
RUN curl -O https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin
|
18 |
+
|
19 |
+
EXPOSE 7860
|
20 |
+
|
21 |
+
CMD ["streamlit", "run", "app.py","--server.port", "7860"]
|