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

Update Dockerfile

parent 5c7607ae
No related branches found
No related tags found
No related merge requests found
Pipeline #439754 canceled
...@@ -11,5 +11,5 @@ COPY . . ...@@ -11,5 +11,5 @@ COPY . .
EXPOSE 4100 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 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 [ "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