update Dockerfile
This commit is contained in:
parent
591586947d
commit
0d7dea6932
@ -13,4 +13,8 @@ RUN apk add --no-cache ca-certificates
|
||||
|
||||
COPY --from=build /go/src/github.com/yumc.pw/cloud/cloud ./main
|
||||
|
||||
CMD ["./main"]
|
||||
ENV SOURCE=yumc.pw
|
||||
ENV TARGET=https://git.yumc.pw
|
||||
ENV PROTOCOL=git
|
||||
|
||||
CMD ["./main", "-s", "${SOURCE}", "-t", "${TARGET}", "-p", "${PROTOCOL}"]
|
||||
|
Loading…
Reference in New Issue
Block a user