mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 17:20:24 +08:00
12 lines
197 B
Docker
12 lines
197 B
Docker
FROM golang:1.22-alpine
|
|
|
|
ENV TZ Asia/Shanghai
|
|
ENV GOPROXY https://goproxy.cn,direct
|
|
|
|
WORKDIR /app
|
|
COPY goctl /usr/bin/
|
|
COPY cmd.sh .
|
|
|
|
RUN chmod +x /usr/bin/goctl cmd.sh
|
|
CMD ["/bin/bash", "cmd.sh"]
|