supertskone commited on
Commit
9837515
·
verified ·
1 Parent(s): be3ffc8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -8,7 +8,7 @@ RUN useradd -m -u 1000 user
8
  # Set the home directory for the user
9
  ENV HOME=/home/user \
10
 
11
- PATH=/home/user/.local/bin:$PATH
12
 
13
  # Set the working directory for the new user
14
  WORKDIR $HOME/app
@@ -28,9 +28,9 @@ WORKDIR /app
28
  COPY . /app
29
 
30
  # Install system dependencies
31
- RUN apt-get update && apt-get install -u 0 -y \
32
- git \
33
- && rm -rf /var/lib/apt/lists/*
34
 
35
  # Install Python dependencies
36
  RUN pip install --no-cache-dir --upgrade pip
 
8
  # Set the home directory for the user
9
  ENV HOME=/home/user \
10
 
11
+ PATH=/home/user/.local/bin:$PATH
12
 
13
  # Set the working directory for the new user
14
  WORKDIR $HOME/app
 
28
  COPY . /app
29
 
30
  # Install system dependencies
31
+ # RUN apt-get update && apt-get install -u 0 -y \
32
+ # git \
33
+ # && rm -rf /var/lib/apt/lists/*
34
 
35
  # Install Python dependencies
36
  RUN pip install --no-cache-dir --upgrade pip