Dockerfile 247 Bytes
Newer Older
Tulio Ruiz's avatar
Tulio Ruiz committed
1
2
3
4
5
6
7
FROM postgres:11-alpine
ENV LC_COLLATE "C"
RUN mkdir -p /etc/postgresql/
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
RUN chown postgres:postgres -R  /etc/postgresql
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]