Commit
·
6dcc548
1
Parent(s):
3e0098b
Added Cache folder to Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,9 @@ FROM python:3.11.5-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
|
|
|
| 5 |
# Copy the application files into the container
|
| 6 |
COPY app.py requirements.txt /app/
|
| 7 |
COPY src /app/src
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
# Create a cache directory and grant permissions
|
| 6 |
+
RUN mkdir /.cache && chmod -R 777 /.cache
|
| 7 |
+
|
| 8 |
# Copy the application files into the container
|
| 9 |
COPY app.py requirements.txt /app/
|
| 10 |
COPY src /app/src
|