gkkkk / Dockerfile
dragg2's picture
Update Dockerfile
f2c4cbf verified
raw
history blame contribute delete
262 Bytes
FROM ghcr.io/chenyme/grok2api:latest
ENV SERVER_HOST=0.0.0.0
ENV SERVER_PORT=7860
ENV SERVER_WORKERS=1
EXPOSE 7860
CMD ["sh", "-c", "granian --interface asgi --host ${SERVER_HOST:-0.0.0.0} --port ${SERVER_PORT:-7860} --workers ${SERVER_WORKERS:-1} main:app"]