瀏覽代碼

Added missing docker file

luis 6 年之前
父節點
當前提交
3cee07d0fb
共有 2 個文件被更改,包括 5 次插入2 次删除
  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"]