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