From 23d9430cad28ba5e6f9fbe687944d255814352c8 Mon Sep 17 00:00:00 2001 From: Kennedy Kori Date: Sun, 14 Aug 2022 19:01:52 +0300 Subject: [PATCH] fix(docker): Dockerfile (#24) Fix Dockerfile misconfiguration issue caused by changing the project to have multiple "requirements.txt" files for different environments. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index be9bcea..a35fb1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,11 +26,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ libpq-dev postgis gdal-bin libgdal-dev # Requirements are installed here to ensure they will be cached. -COPY ./requirements.txt . +COPY ./requirements . # Create Python Dependency and Sub-Dependency Wheels. RUN pip wheel --wheel-dir /usr/src/app/wheels \ - -r requirements.txt + -r ${BUILD_ENVIRONMENT}.txt # Python 'run' stage