From 566ee7bde9ddcf1069d654e6edc72c81c75321ca Mon Sep 17 00:00:00 2001 From: Nick Darrell Date: Wed, 4 Oct 2023 13:19:23 +0000 Subject: [PATCH] move command in Dockerfile --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fa0e012..9822998 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,6 @@ ENV PIP_CONFIG_FILE pip.conf RUN apt-get update RUN apt-get -y install coinor-cbc -RUN python -m pip install -r requirements.txt RUN mkdir /app WORKDIR /app @@ -14,4 +13,6 @@ COPY . /app WORKDIR /app/app +RUN python -m pip install -r requirements.txt + CMD [ "python", "main.py" ]