From 8a4ccf851ac289f37f9d4eb965cbf1acc70b8a1d Mon Sep 17 00:00:00 2001 From: Jonathan Inge Arvesen Folland Date: Thu, 20 Mar 2025 19:33:01 +0100 Subject: [PATCH] Update Dockerfile --- backend/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 07fff77..1884a5f 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -3,10 +3,7 @@ FROM python:3.12-slim # Allows docker to cache installed dependencies between builds COPY requirements.txt requirements.txt - -# Set Google's DNS and install dependencies in the same RUN command -RUN echo "nameserver 8.8.8.8" > /etc/resolv.conf && \ - pip install --no-cache-dir -r requirements.txt +RUN pip install --no-cache-dir -r requirements.txt # Mounts the application code to the image COPY . app