Spaces:
Running
Running
github-actions
commited on
Commit
·
30cb2b9
1
Parent(s):
4e3473e
optimized Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -8,9 +8,6 @@ RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
|
12 |
|
13 |
-
|
14 |
-
RUN chmod 777 /.cache
|
15 |
-
RUN mkdir .chroma
|
16 |
-
RUN chmod 777 .chroma
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
RUN mkdir /.cache .chroma && chmod 777 /.cache .chroma
|
12 |
|
13 |
+
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
|
|
|
|
|