supertskone commited on
Commit
52c3612
·
verified ·
1 Parent(s): 6ee292e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -15
Dockerfile CHANGED
@@ -8,22 +8,11 @@ RUN useradd -m -u 1000 user
8
  # Switch to the "user" user
9
  USER user
10
 
11
- # Set home to the user's home directory
12
- ENV HOME=/home/user \
13
- PATH=/home/user/.local/bin:$PATH
14
 
15
- # Set the working directory to the user's home directory
16
- WORKDIR $HOME/app
17
-
18
- # Copy the current directory contents into the container at $HOME/app setting the owner to the user
19
- COPY --chown=user . $HOME/app
20
-
21
-
22
- # # Set the working directory
23
- # WORKDIR /app
24
-
25
- # # Copy the current directory contents into the container at /app
26
- # COPY . /app
27
 
28
  # Install system dependencies
29
  RUN apt-get update && apt-get install -y \
 
8
  # Switch to the "user" user
9
  USER user
10
 
11
+ # Set the working directory
12
+ WORKDIR /app
 
13
 
14
+ # Copy the current directory contents into the container at /app
15
+ COPY . /app
 
 
 
 
 
 
 
 
 
 
16
 
17
  # Install system dependencies
18
  RUN apt-get update && apt-get install -y \