File tree Expand file tree Collapse file tree
{{cookiecutter.project_slug}}/compose Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
1717COPY ./requirements .
1818
1919# Create Python Dependency and Sub-Dependency Wheels.
20- RUN pip wheel --wheel-dir /usr/src/app/wheels \
20+ RUN pip wheel --wheel-dir /usr/src/app/wheels \
2121 -r ${BUILD_ENVIRONMENT}.txt
2222
2323
@@ -48,7 +48,7 @@ RUN groupadd --gid 1000 dev-user \
4848# Install required system dependencies
4949RUN apt-get update && apt-get install --no-install-recommends -y \
5050 # psycopg dependencies
51- libpq-dev \
51+ libpq-dev \
5252 wait-for-it \
5353 # Translations dependencies
5454 gettext \
@@ -58,7 +58,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
5858
5959# All absolute dir copies ignore workdir instruction. All relative dir copies are wrt to the workdir instruction
6060# copy python dependency wheels from python-build-stage
61- COPY --from=python-build-stage /usr/src/app/wheels /wheels/
61+ COPY --from=python-build-stage /usr/src/app/wheels /wheels/
6262
6363# use wheels to install python dependencies
6464RUN pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2020COPY ./requirements /requirements
2121
2222# create python dependency wheels
23- RUN pip wheel --no-cache-dir --wheel-dir /usr/src/app/wheels \
23+ RUN pip wheel --no-cache-dir --wheel-dir /usr/src/app/wheels \
2424 -r /requirements/local.txt -r /requirements/production.txt \
2525 && rm -rf /requirements
2626
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
4444COPY ./requirements .
4545
4646# Create Python Dependency and Sub-Dependency Wheels.
47- RUN pip wheel --wheel-dir /usr/src/app/wheels \
47+ RUN pip wheel --wheel-dir /usr/src/app/wheels \
4848 -r ${BUILD_ENVIRONMENT}.txt
4949
5050
@@ -78,7 +78,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
7878
7979# All absolute dir copies ignore workdir instruction. All relative dir copies are wrt to the workdir instruction
8080# copy python dependency wheels from python-build-stage
81- COPY --from=python-build-stage /usr/src/app/wheels /wheels/
81+ COPY --from=python-build-stage /usr/src/app/wheels /wheels/
8282
8383# use wheels to install python dependencies
8484RUN pip install --no-cache-dir --no-index --find-links=/wheels/ /wheels/* \
You can’t perform that action at this time.
0 commit comments