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
|
# Prepare Entrypoint Script
|
||||||
ADD resources /tmp/resources
|
ADD resources /usr/local/bin/resources
|
||||||
RUN chmod 700 /tmp/resources/entrypoint.sh /tmp/resources/create_pgpass.sh /tmp/resources/backup.sh /tmp/resources/restore.sh
|
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
|
#!/bin/bash
|
||||||
|
|
||||||
/tmp/resources/create_pgpass.sh
|
/usr/local/bin/resources/create_pgpass.sh
|
||||||
|
|
||||||
# Idle process
|
# Idle process
|
||||||
while true; do
|
while true; do
|
||||||
|
|
Loading…
Reference in a new issue