Spaces:
Sleeping
Sleeping
robinroy03
commited on
Commit
•
9343780
1
Parent(s):
d0f08bb
dockerfile - adding cache folder
Browse files- .gitignore +2 -1
- Dockerfile +1 -1
.gitignore
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
venv
|
2 |
-
__pycache__
|
|
|
|
1 |
venv
|
2 |
+
__pycache__
|
3 |
+
.env
|
Dockerfile
CHANGED
@@ -8,6 +8,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
|
12 |
|
13 |
CMD ["gunicorn", "-w", "5", "main:app"]
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
RUN mkdir -p code/cache && chmod 777 code/cache
|
12 |
|
13 |
CMD ["gunicorn", "-w", "5", "main:app"]
|