Spaces:
Runtime error
Runtime error
Dockerfile >>:|
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
FROM python:3.10.10
|
2 |
|
3 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
|
|
|
|
|
|
|
|
|
|
4 |
RUN python3 -m pip install --no-cache-dir --upgrade -r requirements.txt
|
5 |
|
6 |
COPY . .
|
@@ -10,4 +15,4 @@ CMD ["panel", "serve", "/GPT-4_PDF_summary.ipynb", "--address", "0.0.0.0", "--po
|
|
10 |
RUN mkdir /.cache
|
11 |
RUN chmod 777 /.cache
|
12 |
RUN mkdir .chroma
|
13 |
-
RUN chmod 777 .chroma
|
|
|
1 |
FROM python:3.10.10
|
2 |
|
3 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
4 |
+
|
5 |
+
# Copy the requirements.txt file into the Docker image
|
6 |
+
COPY requirements.txt .
|
7 |
+
|
8 |
+
# Now the requirements.txt file will be available in the image
|
9 |
RUN python3 -m pip install --no-cache-dir --upgrade -r requirements.txt
|
10 |
|
11 |
COPY . .
|
|
|
15 |
RUN mkdir /.cache
|
16 |
RUN chmod 777 /.cache
|
17 |
RUN mkdir .chroma
|
18 |
+
RUN chmod 777 .chroma
|