grok2api / Dockerfile
xingshang1's picture
Upgrade grok2api to upstream c7b4a51
6cf353b
Raw
History Blame Contribute Delete
379 Bytes
FROM ghcr.io/chenyme/grok2api:main@sha256:92d016f44c5168ed6f9c83cddd19aebda4e20c07105f88271d3f883cb5d5e1bd
USER root
RUN apk add --no-cache nginx
COPY nginx.conf /etc/nginx/nginx.conf
COPY --chmod=0755 start-hf.sh /usr/local/bin/start-hf
RUN nginx -t
ENTRYPOINT ["/usr/local/bin/start-hf"]
CMD ["/app/grok2api", "--config", "/app/config.yaml", "--listen", "127.0.0.1:8001"]