Remove docker stuff for now
parent
b575628553
commit
fa00720883
17
Dockerfile
17
Dockerfile
|
@ -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
|
11
circle.yml
11
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
|
||||
|
|
Loading…
Reference in New Issue