6 lines
210 B
Docker
6 lines
210 B
Docker
|
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" ]
|