init
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM postgres
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y --no-install-recommends postgresql-16-cron
|
||||
# Clean up
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY ./my-postgres.conf /etc/postgresql.conf
|
||||
COPY ./initdb-pg_cron.sql /docker-entrypoint-initdb.d/10_pg_cron.sql
|
||||
|
||||
EXPOSE 5432
|
||||
CMD ["postgres", "-c", "config_file=/etc/postgresql.conf"]
|
||||
Reference in New Issue
Block a user