Spaces:
Runtime error
Runtime error
JustSkyDev commited on
Commit ·
0ba983f
1
Parent(s): 856944d
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /code
|
| 4 |
|
| 5 |
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
|
| 7 |
-
|
| 8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 9 |
|
| 10 |
RUN apt-get update && apt-get install -y \
|
|
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
+
RUN mkdir -p /app/cache
|
| 4 |
+
|
| 5 |
+
RUN chmod 777 /app/cache
|
| 6 |
+
|
| 7 |
WORKDIR /code
|
| 8 |
|
| 9 |
COPY ./requirements.txt /code/requirements.txt
|
| 10 |
|
|
|
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 12 |
|
| 13 |
RUN apt-get update && apt-get install -y \
|