diff --git a/front-react/Dockerfile b/front-react/Dockerfile index c1de09d405b9e3de56fa4dce572990b89d64a1ab..3b29917f2a84a8d8e7430521bc7a1ff38e91be38 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" ]