view trainingdb/Dockerfile @ 369:3dc92d4243ef

DEP-21 Update update-inventory-app.sh script to also update inventory-importapp image
author Matt Calmes <calmes@ssdt-ohio.org>
date Sun, 29 Aug 2021 18:42:21 -0400
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