view trainingdb/Dockerfile @ 329:5014e2b0e5d3

adding script per Ryan at MCOECN
author aldrich@ssdt-ohio.org
date Mon, 13 Jan 2020 12:57:03 +0000
parents 9129e39b00fa
children 9afc8cb478f6
line wrap: on
line source

FROM docker.ssdt.io/ssdt-postgres:5

MAINTAINER Dave Smith smith@nwoca.org

ENV PGDATA=/var/pgdata/trainingdata \
    BACKUP_FILE=/training.backup.gz

COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh

RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh