generated from pkg/go-template
feat : 环境变量
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
6dc2193e56
commit
b121129b30
|
@ -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"]
|
Loading…
Reference in New Issue