Commit
·
bd89d6a
1
Parent(s):
bc53648
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -12,6 +12,9 @@ COPY . ./
|
|
| 12 |
# Install production dependencies.
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
# Create a non-root user and switch to it
|
| 16 |
RUN useradd -m -u 1000 user
|
| 17 |
USER user
|
|
|
|
| 12 |
# Install production dependencies.
|
| 13 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
|
| 15 |
+
# Modify DNS settings
|
| 16 |
+
RUN echo 'nameserver 8.8.8.8' > /etc/resolv.conf
|
| 17 |
+
|
| 18 |
# Create a non-root user and switch to it
|
| 19 |
RUN useradd -m -u 1000 user
|
| 20 |
USER user
|