cookiecutter-django/{{cookiecutter.repo_name}}/compose/postgres/Dockerfile
2016-03-08 10:41:58 +01:00

12 lines
298 B
Docker

FROM postgres:9.5
# 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