dynamicweb2/postgres/Dockerfile

10 lines
332 B
Text
Raw Normal View History

2023-12-13 05:15:07 +00:00
# Use the official PostgreSQL image from the Docker Hub
FROM postgres:latest
# Copy custom configuration file to PostgreSQL configuration directory
2023-12-13 14:31:07 +00:00
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
2023-12-13 05:15:07 +00:00
# Set the Unix socket directory
RUN echo "unix_socket_directories = '/var/run/postgresql'" >> /etc/postgresql/postgresql.conf