FROM pengzhile/new-api AS builder FROM alpine:3.12 COPY --from=builder /one-api /one-api RUN apk add --no-cache nginx && \ mkdir -p /data && chmod 777 /data COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 7860 COPY start.sh /start.sh RUN chmod +x /start.sh CMD ["/start.sh"]