Spaces:
Runtime error
Runtime error
Upload Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -1,14 +1,12 @@
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
COPY ./requirements.txt /code/requirements.txt
|
6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
7 |
-
RUN python3 -m pip install --no-cache-dir --upgrade -r /
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD ["panel", "serve", "
|
12 |
|
13 |
RUN mkdir /.cache
|
14 |
RUN chmod 777 /.cache
|
|
|
1 |
FROM python:3.9
|
2 |
|
3 |
+
COPY ./requirements.txt /requirements.txt
|
|
|
|
|
4 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
5 |
+
RUN python3 -m pip install --no-cache-dir --upgrade -r /requirements.txt
|
6 |
|
7 |
COPY . .
|
8 |
|
9 |
+
CMD ["panel", "serve", "GPT-4_PDF_summary.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "chomakov-gpt-4-pdf-summary.hf.space", "--allow-websocket-origin", "0.0.0.0:7860"]
|
10 |
|
11 |
RUN mkdir /.cache
|
12 |
RUN chmod 777 /.cache
|