Spaces:
Sleeping
Sleeping
Nishant Aswani
commited on
Commit
•
55150dc
1
Parent(s):
49ea899
Uncomment docker file
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -6,11 +6,11 @@ WORKDIR /code
|
|
6 |
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
9 |
-
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
-
|
14 |
|
15 |
RUN mkdir /.cache
|
16 |
RUN chmod 777 /.cache
|
|
|
6 |
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
9 |
+
RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
+
CMD ["panel", "serve", "/code/app.py", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
14 |
|
15 |
RUN mkdir /.cache
|
16 |
RUN chmod 777 /.cache
|