mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-04 10:04:50 +10:00
12 lines
318 B
Docker
12 lines
318 B
Docker
FROM postgres:latest
|
|
|
|
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
|
|
|
|
COPY ./init.sql /docker-entrypoint-initdb.d/
|
|
|
|
RUN chown postgres:postgres /etc/postgresql/postgresql.conf && \
|
|
chmod 644 /etc/postgresql/postgresql.conf
|
|
|
|
EXPOSE 5432
|
|
|
|
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"] |