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