andreyunic23 commited on
Commit
a7bc54f
·
1 Parent(s): 07074a2

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -8,14 +8,14 @@ USER user
8
  # Dockerfile
9
 
10
  # Copy local code to the container image.
11
- ENV HOME=/home/user
12
- WORKDIR $HOME/app
13
- COPY . $HOME/app
14
 
15
  RUN pip install --no-cache-dir --upgrade pip
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
- COPY --chown=user . $HOME/app
19
 
20
 
21
  # Run the web service on container startup. Here we use the gunicorn
 
8
  # Dockerfile
9
 
10
  # Copy local code to the container image.
11
+ # ENV HOME=/home/user
12
+ WORKDIR /app
13
+ COPY . /app
14
 
15
  RUN pip install --no-cache-dir --upgrade pip
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
+ COPY --chown=user . /app
19
 
20
 
21
  # Run the web service on container startup. Here we use the gunicorn