alonsosilva commited on
Commit
6a35370
1 Parent(s): 063421d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -7,17 +7,17 @@ RUN useradd -m -u 1000 user
7
  USER user
8
 
9
  # Set home to the user's home directory
10
- ENV HOME=/home/user \
11
- PATH=/home/user/.local/bin:$PATH
12
 
13
  # Set the working directory to the user's home directory
14
- WORKDIR $HOME/app
15
 
16
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
17
  RUN pip install --no-cache-dir --upgrade pip
18
 
19
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
20
- COPY --chown=user . $HOME/app
21
 
22
  COPY --chown=user requirements.txt .
23
 
 
7
  USER user
8
 
9
  # Set home to the user's home directory
10
+ #ENV HOME=/home/user \
11
+ # PATH=/home/user/.local/bin:$PATH
12
 
13
  # Set the working directory to the user's home directory
14
+ #WORKDIR $HOME/app
15
 
16
  # Try and run pip command after setting the user with `USER user` to avoid permission issues with Python
17
  RUN pip install --no-cache-dir --upgrade pip
18
 
19
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
20
+ #COPY --chown=user . $HOME/app
21
 
22
  COPY --chown=user requirements.txt .
23