AdrienB134 commited on
Commit
9d1233a
·
verified ·
1 Parent(s): 7475792

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -15
Dockerfile CHANGED
@@ -11,21 +11,6 @@ RUN apt-get update && apt-get install -y \
11
  && echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc \
12
  && . ~/.bashrc
13
 
14
- # Set up a new user named "user" with user ID 1000
15
- RUN useradd -m -u 1000 user
16
-
17
- # Switch to the "user" user
18
- USER user
19
-
20
- # Set home to the user's home directory
21
- ENV HOME=/home/user \
22
- PATH=/home/user/.local/bin:$PATH
23
-
24
-
25
- # Set the working directory to the user's home directory
26
- WORKDIR $HOME/app
27
-
28
-
29
 
30
  # Copy requirements first to leverage Docker cache
31
  COPY pyproject.toml .
 
11
  && echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc \
12
  && . ~/.bashrc
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  # Copy requirements first to leverage Docker cache
16
  COPY pyproject.toml .