mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-24 02:24:07 +03:00
e5154f3f01
- group related commands together - use COPY instead of ADD
11 lines
382 B
Docker
11 lines
382 B
Docker
FROM postgres:{{ cookiecutter.postgresql_version }}
|
|
|
|
COPY ./compose/production/postgres/backup.sh /usr/local/bin/backup
|
|
RUN chmod +x /usr/local/bin/backup
|
|
|
|
COPY ./compose/production/postgres/restore.sh /usr/local/bin/restore
|
|
RUN chmod +x /usr/local/bin/restore
|
|
|
|
COPY ./compose/production/postgres/list-backups.sh /usr/local/bin/list-backups
|
|
RUN chmod +x /usr/local/bin/list-backups
|