Newer
Older
# Use posgres as base image
FROM library/postgres:12
# Allow access without password
ENV POSTGRES_HOST_AUTH_METHOD=trust
# Set postgres db name
ENV POSTGRES_DB vospace_testdb
# Copy setup scripts into the right folder
COPY *.sql /docker-entrypoint-initdb.d/