feat: support windows build

This commit is contained in:
Bo-Yi Wu
2019-03-16 11:46:37 +08:00
parent 9e53ba9917
commit 74f1e6573c
2 changed files with 8 additions and 6 deletions

View File

@@ -5,10 +5,10 @@ LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
org.label-schema.vendor="Bo-Yi Wu" \
org.label-schema.schema-version="1.0"
COPY release/gorush.exe /gorush.exe
COPY release/gorush.exe C:/bin/gorush.exe
EXPOSE 8088 9000
HEALTHCHECK --start-period=2s --interval=10s --timeout=5s \
CMD ["\\gorush.exe", "--ping"]
ENTRYPOINT [ "\\gorush.exe" ]
ENTRYPOINT [ "C:\\bin\\gorush.exe" ]