mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-24 10:34:06 +03:00
bcd0a8c46e
* Fix & imporve postgres backup/restore scripts * Update PostgreSQL backup/restore docs * Fix postgres Dockerfile regression * Extend error messages in PostgreSQL maintenance scipts
7 lines
262 B
Docker
7 lines
262 B
Docker
FROM postgres:{{ cookiecutter.postgresql_version }}
|
|
|
|
COPY ./compose/production/postgres/maintenance /usr/local/bin/maintenance
|
|
RUN chmod +x /usr/local/bin/maintenance/*
|
|
RUN mv /usr/local/bin/maintenance/* /usr/local/bin \
|
|
&& rmdir /usr/local/bin/maintenance
|