feat : 环境变量
continuous-integration/drone/push Build is failing Details

master
liuhaotian 2022-01-14 20:01:15 +08:00
parent 6dc2193e56
commit b121129b30
1 changed files with 1 additions and 0 deletions

View File

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