Changed scripts path to /usr/local/bin/
This commit is contained in:
parent
8182aa3a4a
commit
5361ef367e
2 changed files with 3 additions and 3 deletions
|
@ -24,5 +24,5 @@ RUN apt-get -y install postgresql-client-13
|
|||
|
||||
|
||||
# Prepare Entrypoint Script
|
||||
ADD resources /tmp/resources
|
||||
RUN chmod 700 /tmp/resources/entrypoint.sh /tmp/resources/create_pgpass.sh /tmp/resources/backup.sh /tmp/resources/restore.sh
|
||||
ADD resources /usr/local/bin/resources
|
||||
RUN chmod 700 /usr/local/bin/resources/entrypoint.sh /usr/local/bin/resources/create_pgpass.sh /usr/local/bin/resources/backup.sh /usr/local/bin/resources/restore.sh
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
/tmp/resources/create_pgpass.sh
|
||||
/usr/local/bin/resources/create_pgpass.sh
|
||||
|
||||
# Idle process
|
||||
while true; do
|
||||
|
|
Loading…
Reference in a new issue