From 9f022da9f18e4225574e691fafbd5caf36733ca0 Mon Sep 17 00:00:00 2001 From: Stefano Alberto Russo Date: Mon, 11 Oct 2021 23:34:41 +0200 Subject: [PATCH] Moved to cloning the api-gateway repo. Fixes. --- services/api-gateway/Dockerfile | 3 ++- services/api-gateway/run_api-gateway.sh | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/services/api-gateway/Dockerfile b/services/api-gateway/Dockerfile index 6b596da..f40464a 100644 --- a/services/api-gateway/Dockerfile +++ b/services/api-gateway/Dockerfile @@ -56,7 +56,8 @@ COPY sudoers /etc/sudoers # Code #------------------------ -COPY esap-api-gateway /opt/esap-api-gateway +RUN cd /opt && git clone https://git.astron.nl/astron-sdc/esap-api-gateway.git +RUN cd /opt/esap-api-gateway && git pull && git checkout 74188b358615fd4e8f0fc60dfa6a19d2f38426ab RUN chown -R esap:esap /opt/esap-api-gateway diff --git a/services/api-gateway/run_api-gateway.sh b/services/api-gateway/run_api-gateway.sh index a3d9506..7355d28 100644 --- a/services/api-gateway/run_api-gateway.sh +++ b/services/api-gateway/run_api-gateway.sh @@ -30,9 +30,6 @@ if [[ "x$EXIT_CODE" != "x0" ]] ; then fi echo "" -# Hopefully this will not stay here long -#DJANGO_DEV_SERVER=True - if [[ "x$DJANGO_DEV_SERVER" == "xTrue" ]] ; then # Run the development server -- GitLab