eaedk commited on
Commit
edcf65a
1 Parent(s): 4443a6d
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -3,11 +3,11 @@
3
 
4
  FROM python:3.9
5
 
6
- WORKDIR /code
7
 
8
- COPY ./requirements.txt /code/requirements.txt
9
 
10
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  RUN useradd -m -u 1000 user
13
 
@@ -20,4 +20,5 @@ WORKDIR $HOME/app
20
 
21
  COPY --chown=user . $HOME/app
22
 
23
- CMD ["python", "app.py",]
 
 
3
 
4
  FROM python:3.9
5
 
6
+ # WORKDIR /code
7
 
8
+ # COPY ./requirements.txt /code/requirements.txt
9
 
10
+ # RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  RUN useradd -m -u 1000 user
13
 
 
20
 
21
  COPY --chown=user . $HOME/app
22
 
23
+ # CMD ["python", "app.py",]
24
+ RUN pip install --no-cache-dir --upgrade -r .requirements.txt