cookiecutter-django/{{cookiecutter.project_slug}}/compose/postgres/Dockerfile

12 lines
332 B
Docker
Raw Permalink Normal View History

2016-08-10 18:31:48 +03:00
FROM postgres:{{ cookiecutter.postgresql_version }}
2016-03-08 12:41:58 +03:00
# 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