123456789101112131415 |
- FROM ccr.ccs.tencentyun.com/aionnect/public:3.11
- RUN mkdir -p /opt/hello-go /log/error /log/warn /log/info
- WORKDIR /opt/hello-go
- COPY ./bin/ ./
- RUN chmod +x ./hello-go
- ENV GIN_MODE release
- ENV PATH $PATH:/sbin:/opt/hello-go
- ENV LANG zh_CN.UTF-8
- EXPOSE 8080 10080
- ENTRYPOINT ["tini", "--"]
- CMD ["hello-go", "-c", "config", "2>&1", "&"]
|