2024-01-14 15:47:30 +03:00
|
|
|
FROM postgres:16.1-alpine AS build
|
2022-12-14 09:53:10 +03:00
|
|
|
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" ]
|