mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-07 15:10:01 +08:00
14 lines
310 B
Docker
14 lines
310 B
Docker
FROM golang:1.22-alpine
|
|
|
|
# set timezone if you need
|
|
# ENV TZ Asia/Shanghai
|
|
# if you are in China, you can use the following command to speed up the download
|
|
# 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"]
|