mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-25 02:08:44 +08:00
13 lines
206 B
Docker
13 lines
206 B
Docker
|
FROM golang:1.18
|
||
|
|
||
|
ENV TZ Asia/Shanghai
|
||
|
ENV GOPROXY https://goproxy.cn,direct
|
||
|
|
||
|
WORKDIR /app
|
||
|
ADD goctl /usr/bin/goctl
|
||
|
ADD cmd.sh .
|
||
|
|
||
|
RUN chmod +x /usr/bin/goctl
|
||
|
RUN chmod +x cmd.sh
|
||
|
CMD ["/bin/bash", "cmd.sh"]
|