Spaces:
Runtime error
Runtime error
Kaan
commited on
update dockerfile
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -8,4 +8,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
# Create the cache directory with appropriate permissions
|
12 |
+
RUN mkdir -p /.cache
|
13 |
+
RUN chmod -R 777 /.cache
|
14 |
+
|
15 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|