Fausto Busuito
commited on
Commit
•
8d9d8e8
1
Parent(s):
4556c83
Application changes
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -7,6 +7,9 @@ RUN pip install -r requirements.txt
|
|
7 |
|
8 |
COPY . .
|
9 |
|
|
|
|
|
|
|
10 |
EXPOSE 7860
|
11 |
|
12 |
CMD ["python", "app.py"]
|
|
|
7 |
|
8 |
COPY . .
|
9 |
|
10 |
+
# Ensure the flask_session directory exists and has the correct permissions
|
11 |
+
RUN mkdir -p /app/flask_session && chmod -R 777 /app/flask_session
|
12 |
+
|
13 |
EXPOSE 7860
|
14 |
|
15 |
CMD ["python", "app.py"]
|