Skip to content
Snippets Groups Projects
Commit fe864ffc authored by M9713's avatar M9713
Browse files

Update Dockerfile

parent 1a93e88e
No related branches found
No related tags found
No related merge requests found
Pipeline #439755 canceled
......@@ -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" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment