mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-10 05:52:34 +03:00
🐛 finxed bug in docs
dockerfile
This commit is contained in:
parent
c3165c7844
commit
4a0028768d
|
@ -11,6 +11,7 @@ ENV PYTHONDONTWRITEBYTECODE 1
|
|||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
# dependencies for building Python packages
|
||||
build-essential \
|
||||
{%- if cookiecutter.database_engine == "postgresql" %}
|
||||
# psycopg2 dependencies
|
||||
libpq-dev \
|
||||
|
@ -18,7 +19,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
|
|||
# mysql dependency
|
||||
default-libmysqlclient-dev \
|
||||
{%- endif %}
|
||||
libpq-dev \
|
||||
# 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