diff --git a/.drone.yml b/.drone.yml index 05d5d89..05dcad7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,7 +43,7 @@ steps: context: ./ registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/felix.mielcarek/big-brother-server - username: + username: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD diff --git a/callback-server/Dockerfile b/callback-server/Dockerfile index c8f9586..323fc3b 100644 --- a/callback-server/Dockerfile +++ b/callback-server/Dockerfile @@ -20,4 +20,5 @@ EXPOSE 80 # Command to run the application CMD ["python3", "common/set-env-var.py"] +CMD ["cat", "common/.env"] CMD ["node", "--env-file=common/.env" , "callback-server/app.js"]