Spaces:
Sleeping
Sleeping
Commit
•
cbf72f3
1
Parent(s):
3256f02
Upload Dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -4,10 +4,14 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
ENV BOKEH_ALLOW_WS_ORIGIN invictusrudra-question-answering.hf.space
|
12 |
|
13 |
-
CMD ["panel", "serve", "/code/app1.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "InvictusRudra-question-answering.hf.space"]
|
|
|
|
|
|
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
+
RUN python3 -m pip install --no-cache-dir --upgrade pip
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
10 |
COPY . .
|
11 |
|
12 |
ENV BOKEH_ALLOW_WS_ORIGIN invictusrudra-question-answering.hf.space
|
13 |
|
14 |
+
CMD ["panel", "serve", "/code/app1.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "InvictusRudra-question-answering.hf.space"]
|
15 |
+
|
16 |
+
RUN mkdir /.cache
|
17 |
+
RUN chmod 777 /.cache
|