From ea69aab26ca1fbc6dff34849db43db2f3fab9de8 Mon Sep 17 00:00:00 2001 From: retgal Date: Sat, 6 Jul 2024 17:31:24 +0200 Subject: [PATCH] Improve dokerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 900ec21..9b58b61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,7 @@ ENV BALANCER_CONFIG "/opt/data/config" # create a volume for the app VOLUME /opt/data -COPY requirements.txt ./ +COPY balancer.py requirements.txt ./ RUN pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt -COPY balancer.py ./ - CMD python ./balancer.py ${BALANCER_CONFIG} -nolog \ No newline at end of file