@@ -52,9 +52,7 @@ pipeline:
environment: staging
event: deployment
commands:
- - echo $HOME
- mkdir -p DIST
- - cp -r flow-ui/dist DIST/web
- docker build --rm -t hexasoftware.com:5000/flow-proto -f ./docker/Dockerfile .
- docker push hexasoftware.com:5000/flow-proto
volumes:
@@ -0,0 +1,5 @@
+FROM scratch
+COPY DIST/ /app
+WORKDIR /app
+EXPOSE 2015
+CMD ["/app/demo1"]