pseudotheos
commited on
Commit
•
c84ad76
1
Parent(s):
963b33c
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -17,8 +17,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
17 |
# Copy the current directory contents into the container at /app
|
18 |
COPY . /app/
|
19 |
|
20 |
-
# Create a writable cache directory
|
21 |
-
RUN mkdir -p /.cache && chmod -R 777 /.cache
|
22 |
|
23 |
# Specify the command to run your application
|
24 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
17 |
# Copy the current directory contents into the container at /app
|
18 |
COPY . /app/
|
19 |
|
20 |
+
# Create a writable cache directory inside the /app directory
|
21 |
+
RUN mkdir -p /app/.cache && chmod -R 777 /app/.cache
|
22 |
|
23 |
# Specify the command to run your application
|
24 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
|