Lev McKinney commited on
Commit
f54b8d3
1 Parent(s): ad6e914

moved ln to earlier in the docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -6,6 +6,8 @@ COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
 
 
9
  # Set up a new user named "user" with user ID 1000
10
  RUN useradd -m -u 1000 user
11
 
@@ -22,6 +24,4 @@ WORKDIR $HOME/app
22
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
23
  COPY --chown=user . $HOME/app
24
 
25
- RUN ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
26
-
27
  CMD ["python", "app.py"]
 
6
 
7
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
8
 
9
+ RUN ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
10
+
11
  # Set up a new user named "user" with user ID 1000
12
  RUN useradd -m -u 1000 user
13
 
 
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
 
 
27
  CMD ["python", "app.py"]