yunzi7 commited on
Commit
f48275c
β€’
1 Parent(s): be863cc

update dockerfile

Browse files
Files changed (1) hide show
  1. 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