wechatgpt/Dockerfile
2022-12-15 15:20:41 +09:00

13 lines
179 B
Docker

FROM golang:1.19-alpine
ENV apiKey=""
RUN export GOPRIVATE=github.com/houko/wechatgpt
WORKDIR /app
COPY . /app
RUN go mod download && go build -o server main.go
CMD ./server