8 lines
342 B
Docker
8 lines
342 B
Docker
FROM postgres:16
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends postgresql-16-cron \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
RUN echo "shared_preload_libraries = 'pg_cron'" >> /usr/share/postgresql/postgresql.conf.sample \
|
|
&& echo "cron.database_name = 'familyHubDB'" >> /usr/share/postgresql/postgresql.conf.sample |