0
0
RhSolutions-Api/Database/Dockerfile

6 lines
208 B
Docker

FROM postgres:16.1 AS build
ADD ./init-database.sql /docker-entrypoint-initdb.d
RUN chmod 644 /docker-entrypoint-initdb.d/init-database.sql
EXPOSE 5432
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD [ "postgres" ]