Gogs 3 년 전
부모
커밋
ee0c9db77a
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      Dockerfile

+ 10 - 0
Dockerfile

@@ -0,0 +1,10 @@
+FROM golang:1.9.2
+RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
+RUN echo 'Asia/Shanghai' > /etc/timezone
+
+COPY applecheckmode /go/bin/
+COPY config.yaml /go/bin/
+RUN chmod +x /go/bin/applecheckmode
+WORKDIR /go/bin
+CMD ["/go/bin/applecheckmode", "applecheckmode", "--config=/go/bin/config.yaml"]
+EXPOSE 9001