Skip to content

Commit

Permalink
fix(docker): Dockerfile (#24)
Browse files Browse the repository at this point in the history
Fix Dockerfile misconfiguration issue caused by changing the project to have multiple "requirements.txt" files for different environments.
  • Loading branch information
kennedykori committed Sep 11, 2022
1 parent 759f3a8 commit 318ace2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 318ace2

Please sign in to comment.