remove last remnants of Paths, now only 1 directory per path AND created a new db-container subdir that takes the latest postgres image and adds a crontab / uses cron to run a bkup_users.sh script that dumps the person, refimg and linkage table so that if we ever blow the DB away, we dont lose the users
This commit is contained in:
@@ -13,5 +13,6 @@ RUN truncate -s0 /tmp/preseed.cfg && \
|
||||
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
RUN apt-get update && apt-get -y install cron
|
||||
COPY crontab /etc/crontab
|
||||
COPY bkup_users.sh /tmp/
|
||||
EXPOSE 5432
|
||||
CMD ["sh", "-c", "cron ; /usr/local/bin/docker-entrypoint.sh postgres"]
|
||||
|
||||
Reference in New Issue
Block a user