From fe864ffca9e929f3349af4a835a069acd3ff9ee5 Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Wed, 6 Oct 2021 12:07:49 +0000 Subject: [PATCH] Update Dockerfile --- front-react/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front-react/Dockerfile b/front-react/Dockerfile index 3b29917..8744fcd 100644 --- a/front-react/Dockerfile +++ b/front-react/Dockerfile @@ -11,5 +11,5 @@ COPY . . EXPOSE 4100 -# CMD apt update && apt install dnsutils -y && public_ip=$(dig +short myip.opendns.com @resolver1.opendns.com) && sed -i "s/localhost/$public_ip/g" src/agent.js && npm start -CMD [ "npm", "start" ] +CMD apt update && apt install dnsutils -y && public_ip=$(dig +short myip.opendns.com @resolver1.opendns.com) && sed -i "s/localhost/$public_ip/g" src/agent.js && npm start +#CMD [ "npm", "start" ] -- GitLab