0
0
RhSolutions-Api/RhSolutions.Api/Deploy/Database/Dockerfile

6 lines
210 B
Docker
Raw Normal View History

2022-12-14 09:53:10 +03:00
FROM postgres:latest 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" ]