Pārlūkot izejas kodu

Added missing docker file

luis 6 gadi atpakaļ
vecāks
revīzija
3cee07d0fb
2 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 0 2
      .drone.yml
  2. 5 0
      docker/Dockerfile

+ 0 - 2
.drone.yml

@@ -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:

+ 5 - 0
docker/Dockerfile

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