Spaces:
Runtime error
Runtime error
Commit
·
d663ed7
1
Parent(s):
c3cad10
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ FROM python:3.10.9
|
|
| 16 |
|
| 17 |
WORKDIR /code
|
| 18 |
|
| 19 |
-
RUN mkdir /code/cache && chmod a+
|
| 20 |
|
| 21 |
|
| 22 |
COPY ./requirements.txt /code/requirements.txt
|
|
@@ -26,8 +26,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
| 26 |
ENV FASTF1_CACHE_DIR="/code/cache"
|
| 27 |
|
| 28 |
# Add the following lines to create the main.db file
|
| 29 |
-
RUN touch /code/
|
| 30 |
-
RUN chmod a+rwx /code/
|
| 31 |
|
| 32 |
COPY . .
|
| 33 |
|
|
|
|
| 16 |
|
| 17 |
WORKDIR /code
|
| 18 |
|
| 19 |
+
RUN mkdir /code/cache && chmod a+rwx /code/cache && chmod a+rwx /code
|
| 20 |
|
| 21 |
|
| 22 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
| 26 |
ENV FASTF1_CACHE_DIR="/code/cache"
|
| 27 |
|
| 28 |
# Add the following lines to create the main.db file
|
| 29 |
+
RUN touch /code/main.db
|
| 30 |
+
RUN chmod a+rwx /code/main.db
|
| 31 |
|
| 32 |
COPY . .
|
| 33 |
|