go-ethereum/docker/pg/Dockerfile.pg
2018-08-07 13:58:19 -04:00

9 lines
346 B
Docker

FROM postgres:10.4-alpine
# @NOTE:Shyft - need to modify scripts to check db/table existence
WORKDIR /
COPY ./shyft-cli/postgres_setup/docker_init_user_db.sh /docker-entrypoint-initdb.d/
COPY ./shyft-cli/postgres_setup/create_tables.psql /create_tables.psql
RUN cd /docker-entrypoint-initdb.d && ls -a
VOLUME ["/var/lib/postgresql"]
EXPOSE 5432