diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 902e48b60..000000000 --- a/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -FROM mhart/alpine-node:latest - -WORKDIR /ui - -ADD ui /ui -RUN npm install - -# Build assets to ./ui/build -RUN npm build - -# Run the image as a non-root user -RUN adduser -D mrfusion -USER mrfusion - -# Start the server. -# in the future we'd start the go process here and serve the static assets in /build -CMD npm start diff --git a/circle.yml b/circle.yml index a8487700b..6aff42dad 100644 --- a/circle.yml +++ b/circle.yml @@ -19,14 +19,3 @@ dependencies: test: override: - make test - - docker build --rm=false -t influxdata/mrfusion . - - docker run -d -p 8080:5000 -e PORT=5000 influxdata/mrfusion; sleep 10 - - curl --retry 10 --retry-delay 5 -v http://localhost:8080 - -deployment: - heroku: - branch: develop - commands: - - docker login -e $HEROKU_EMAIL -u $HEROKU_EMAIL -p $HEROKU_PASS registry.heroku.com - - docker tag influxdata/mrfusion registry.heroku.com/mrfusion-acc/web - - docker push registry.heroku.com/mrfusion-acc/web