From 5168b46acbf22a91f016943c0cfd471f5d0330b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Mielcarek?= Date: Tue, 28 May 2024 11:06:24 +0200 Subject: [PATCH] Updating Dockerfile --- callback-server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/callback-server/Dockerfile b/callback-server/Dockerfile index 323fc3b..8bc8091 100644 --- a/callback-server/Dockerfile +++ b/callback-server/Dockerfile @@ -14,11 +14,11 @@ RUN npm install ./callback-server COPY callback-server ./callback-server/ COPY common ./common/ RUN touch common/.env +RUN python3 common/set-env-var.py +RUN cat common/.env # Expose the port the app runs on 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"]