gamingflexer commited on
Commit
9ab0e86
1 Parent(s): 766d70c

Docker file updated

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -6,8 +6,6 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
- COPY ./src/ .
10
-
11
  # Set up a new user named "user" with user ID 1000
12
  RUN useradd -m -u 1000 user
13
 
@@ -24,4 +22,4 @@ WORKDIR $HOME/app
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
27
- CMD ["python","app.py"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
 
 
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user
11
 
 
22
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
23
  COPY --chown=user . $HOME/app
24
 
25
+ CMD ["python", "src/app.py"]