Spaces:
Runtime error
Runtime error
update dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -7,15 +7,15 @@ WORKDIR /app
|
|
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 |
|
16 |
-
# νμ¬ μ¬μ©μλ‘ μμ μ λ³κ²½
|
17 |
-
chown -R $USER:$USER ./
|
18 |
-
|
19 |
# Make port 7860 available to the world outside this container
|
20 |
EXPOSE 7860
|
21 |
|
|
|
7 |
# Copy the current directory contents into the container at /app
|
8 |
COPY . /app
|
9 |
|
10 |
+
# νμ¬ μ¬μ©μλ‘ μμ μ λ³κ²½
|
11 |
+
RUN chown -R $USER:$USER /app
|
12 |
+
|
13 |
# Create the flask_session directory and set the appropriate permissions
|
14 |
RUN mkdir -p /app/flask_session && chmod 777 /app/flask_session
|
15 |
|
16 |
# Install any needed packages specified in requirements.txt
|
17 |
RUN pip install --no-cache-dir -r requirements.txt
|
18 |
|
|
|
|
|
|
|
19 |
# Make port 7860 available to the world outside this container
|
20 |
EXPOSE 7860
|
21 |
|