Browse Source

Added missing docker file

luis 6 years ago
parent
commit
3cee07d0fb
2 changed files with 5 additions and 2 deletions
  1. 0 2
      .drone.yml
  2. 5 0
      docker/Dockerfile

+ 0 - 2
.drone.yml

@@ -52,9 +52,7 @@ pipeline:
       environment: staging
       environment: staging
       event: deployment
       event: deployment
     commands:
     commands:
-      - echo $HOME
       - mkdir -p DIST
       - mkdir -p DIST
-      - cp -r flow-ui/dist DIST/web
       - docker build --rm -t hexasoftware.com:5000/flow-proto -f ./docker/Dockerfile .
       - docker build --rm -t hexasoftware.com:5000/flow-proto -f ./docker/Dockerfile .
       - docker push hexasoftware.com:5000/flow-proto
       - docker push hexasoftware.com:5000/flow-proto
     volumes:
     volumes:

+ 5 - 0
docker/Dockerfile

@@ -0,0 +1,5 @@
+FROM scratch
+COPY DIST/ /app
+WORKDIR /app
+EXPOSE 2015
+CMD ["/app/demo1"]