You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-zero/tools/goctl/test/integration/model/mongo/Dockerfile

12 lines
197 B
Docker

FROM golang:1.21-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"]