DeMaking commited on
Commit
487ba68
·
verified ·
1 Parent(s): 263c6d8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -2
Dockerfile CHANGED
@@ -18,8 +18,7 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
18
  RUN apt-get update && apt-get install -y dnsutils
19
 
20
  # Force using Google's DNS
21
- RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf
22
-
23
 
24
  # Copy the app files
25
  COPY --chown=user . /app
 
18
  RUN apt-get update && apt-get install -y dnsutils
19
 
20
  # Force using Google's DNS
21
+ RUN echo "nameserver 8.8.8.8" >> /etc/resolvconf/resolv.conf.d/head && resolvconf
 
22
 
23
  # Copy the app files
24
  COPY --chown=user . /app