goai / Dockerfile
seekwe's picture
Update Dockerfile
ff66260 verified
raw
history blame contribute delete
309 Bytes
FROM seekwe/ai:v1 AS builder
LABEL stage=gobuilder
FROM alpine:latest
RUN apk update --no-cache && apk add --no-cache ca-certificates tzdata
ENV TZ Asia/Shanghai
WORKDIR /app
COPY --from=builder /app/zls /app/zls
RUN cat <<EOF > /app/app.toml
[base]
port = "7860"
EOF
EXPOSE 7860
ENTRYPOINT ["./zls"]