diff --git a/conduit-front/Dockerfile b/conduit-front/Dockerfile index a481946ec58b3014a4429a9766ab383fca8da402..4b168c0a7c82365f48fe868a13bea9fca0494dd5 100644 --- a/conduit-front/Dockerfile +++ b/conduit-front/Dockerfile @@ -1,6 +1,9 @@ #React/Redux FROM node:14 -FROM ubuntu:latest + +### +#FROM ubuntu:latest +### WORKDIR /usr/src/app @@ -12,5 +15,8 @@ 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" ]