mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 18:14:01 +03:00
188ff966f8
* Re-organize compose/ into environment-specific file groups Closes #1316. * Commit missing files That was weird: git failed to commit one specific folder previously
10 lines
378 B
Docker
10 lines
378 B
Docker
FROM postgres:{{ cookiecutter.postgresql_version }}
|
|
|
|
ADD ./compose/production/postgres/backup.sh /usr/local/bin/backup
|
|
ADD ./compose/production/postgres/restore.sh /usr/local/bin/restore
|
|
ADD ./compose/production/postgres/list-backups.sh /usr/local/bin/list-backups
|
|
|
|
RUN chmod +x /usr/local/bin/restore
|
|
RUN chmod +x /usr/local/bin/list-backups
|
|
RUN chmod +x /usr/local/bin/backup
|