Spaces:
Runtime error
Runtime error
Commit
·
6dc2daa
1
Parent(s):
aab2801
fix
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -2,12 +2,11 @@ FROM python:3.11
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY
|
6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
-
RUN python3 download_datasets.py
|
9 |
|
10 |
-
|
11 |
|
12 |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "4", "--index", "app"]
|
13 |
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
COPY . .
|
6 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
7 |
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
8 |
|
9 |
+
RUN python3 download_datasets.py
|
10 |
|
11 |
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*", "--num-procs", "4", "--index", "app"]
|
12 |
|