Spaces:
Sleeping
Sleeping
LucasAguetai
commited on
Commit
·
6153fa4
1
Parent(s):
011e314
change docker to mkir ./.cache/user
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -8,6 +8,9 @@ WORKDIR /
|
|
8 |
|
9 |
# Install requirements.txt
|
10 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
|
|
|
|
|
11 |
|
12 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
8 |
|
9 |
# Install requirements.txt
|
10 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
11 |
+
RUN mkdir ./.cache
|
12 |
+
RUN touch user
|
13 |
+
RUN chmod -R 777 ./.cache
|
14 |
|
15 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
16 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|