Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -17,6 +17,9 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 17 |
# Install nslookup (dnsutils) for debugging
|
| 18 |
RUN apt-get update && apt-get install -y dnsutils
|
| 19 |
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Copy the app files
|
| 22 |
COPY --chown=user . /app
|
|
|
|
| 17 |
# Install nslookup (dnsutils) for debugging
|
| 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
|