mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-25 02:54:01 +03:00
12 lines
332 B
Docker
12 lines
332 B
Docker
FROM postgres:{{ cookiecutter.postgresql_version }}
|
|
|
|
# add backup scripts
|
|
ADD backup.sh /usr/local/bin/backup
|
|
ADD restore.sh /usr/local/bin/restore
|
|
ADD list-backups.sh /usr/local/bin/list-backups
|
|
|
|
# make them executable
|
|
RUN chmod +x /usr/local/bin/restore
|
|
RUN chmod +x /usr/local/bin/list-backups
|
|
RUN chmod +x /usr/local/bin/backup
|