aznasut commited on
Commit
04c6bed
·
1 Parent(s): fad0036

ignore temp files

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -9
Dockerfile CHANGED
@@ -15,15 +15,8 @@ RUN apt-get update && apt-get install -y \
15
  # Copy the current directory contents into the container at /app
16
  COPY . /app
17
 
18
- # RUN useradd -m -u 1000 user
19
- # USER user
20
- # ENV HOME=/home/user \
21
- # PATH=/home/user/.local/bin:$PATH
22
-
23
- # WORKDIR $HOME/app
24
-
25
- # COPY --chown=user . $HOME/app
26
-
27
  # Install any needed packages specified in requirements.txt
28
  RUN pip install --no-cache-dir -r requirements.txt
29
 
 
15
  # Copy the current directory contents into the container at /app
16
  COPY . /app
17
 
18
+ RUN useradd -m -u 1000 user
19
+ COPY --chown=user . /app
 
 
 
 
 
 
 
20
  # Install any needed packages specified in requirements.txt
21
  RUN pip install --no-cache-dir -r requirements.txt
22