Commit
·
c0baa88
1
Parent(s):
bd89d6a
Update Dockerfile
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
|
@@ -12,9 +12,6 @@ COPY . ./
|
|
| 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
|
|
|
|
| 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
|