diff --git a/infrastrucure/docker/image/Dockerfile b/infrastrucure/docker/image/Dockerfile index ec46356..8c4c960 100644 --- a/infrastrucure/docker/image/Dockerfile +++ b/infrastrucure/docker/image/Dockerfile @@ -24,4 +24,5 @@ RUN apt-get -y install postgresql # Prepare Entrypoint Script -ADD resources /tmp/resources \ No newline at end of file +ADD resources /tmp/resources +RUN chmod 700 /tmp/resources/entrypoint.sh /tmp/resources/create_pg_pass.sh \ No newline at end of file diff --git a/infrastrucure/docker/image/resources/entrypoint.sh b/infrastrucure/docker/image/resources/entrypoint.sh index 2ef8157..6e88e82 100644 --- a/infrastrucure/docker/image/resources/entrypoint.sh +++ b/infrastrucure/docker/image/resources/entrypoint.sh @@ -1 +1,6 @@ -./create_pg_pass.sh \ No newline at end of file +./create_pg_pass.sh + +# Idle process +while true; do + sleep 500000 +done \ No newline at end of file