Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -10,8 +10,7 @@ RUN mkdir /.cache && chmod 777 /.cache
|
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
-
RUN touch users.db
|
|
|
14 |
|
15 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"]
|
16 |
-
|
17 |
-
|
|
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
+
RUN touch users.db # Create an empty SQLite database file
|
14 |
+
RUN chmod 777 users.db # Set permissions for the database file
|
15 |
|
16 |
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "--timeout", "300", "main:app"]
|
|
|
|