mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-15 06:08:38 +03:00
wait-for-it as dependency in the run stage
This commit is contained in:
parent
0cac725ca1
commit
dcde07d0ca
|
@ -37,8 +37,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||
# dependencies for building Python packages
|
||||
build-essential \
|
||||
# psycopg dependencies
|
||||
libpq-dev \
|
||||
wait-for-it
|
||||
libpq-dev
|
||||
|
||||
|
||||
# Requirements are installed here to ensure they will be cached.
|
||||
COPY ./requirements .
|
||||
|
@ -70,6 +70,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||
libpq-dev \
|
||||
# Translations dependencies
|
||||
gettext \
|
||||
# entrypoint
|
||||
wait-for-it \
|
||||
# cleaning up unused files
|
||||
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user