test
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
39ab44f9ae
commit
a08010b83d
|
@ -15,8 +15,6 @@ 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_example_api ./
|
COPY --from=builder /go/src/api_example_api ./
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
ENV env=pro
|
|
||||||
ENV endpoints=http://etcd-server:2379
|
|
||||||
RUN chmod +x ./api_example_api
|
RUN chmod +x ./api_example_api
|
||||||
LABEL io.portainer.accesscontrol.teams="admin"
|
LABEL io.portainer.accesscontrol.teams="admin"
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
|
@ -15,8 +15,6 @@ 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/service_example_service ./
|
COPY --from=builder /go/src/service_example_service ./
|
||||||
ENV TZ=Asia/Shanghai
|
ENV TZ=Asia/Shanghai
|
||||||
ENV env=pro
|
|
||||||
ENV endpoints=http://etcd-server:2379
|
|
||||||
RUN chmod +x ./service_example_service
|
RUN chmod +x ./service_example_service
|
||||||
LABEL io.portainer.accesscontrol.teams="admin"
|
LABEL io.portainer.accesscontrol.teams="admin"
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
Loading…
Reference in New Issue