Spaces:
Runtime error
Runtime error
add chmod
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -7,6 +7,9 @@ WORKDIR /app
|
|
7 |
# Copy the current directory contents into the container at /app
|
8 |
COPY . /app
|
9 |
|
|
|
|
|
|
|
10 |
# Install any needed packages specified in requirements.txt
|
11 |
RUN pip install --no-cache-dir -r requirements.txt
|
12 |
|
|
|
7 |
# Copy the current directory contents into the container at /app
|
8 |
COPY . /app
|
9 |
|
10 |
+
# Create the flask_session directory and set the appropriate permissions
|
11 |
+
RUN mkdir -p /app/flask_session && chmod 777 /app/flask_session
|
12 |
+
|
13 |
# Install any needed packages specified in requirements.txt
|
14 |
RUN pip install --no-cache-dir -r requirements.txt
|
15 |
|