feat : 环境变量
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
liuhaotian 2022-01-14 20:01:15 +08:00
parent 6dc2193e56
commit b121129b30

View File

@ -15,6 +15,7 @@ WORKDIR /go/src
COPY --from=builder /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=builder /go/src/api_murder ./
ENV TZ=Asia/Shanghai
ENV ENDPOINTS=etcd.zeus:2379
RUN chmod +x ./api_murder
EXPOSE 8080
CMD ["./api_murder"]