Files
go-zero/tools/goctl/test/integration/model/mongo/Dockerfile

14 lines
310 B
Docker
Raw Permalink Normal View History

2024-03-03 00:17:38 +08:00
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
2024-03-02 16:40:31 +01:00
COPY goctl /usr/bin/
COPY cmd.sh .
2024-03-02 16:40:31 +01:00
RUN chmod +x /usr/bin/goctl cmd.sh
CMD ["/bin/bash", "cmd.sh"]