ak / Dockerfile
solitudeLin's picture
Use kkqy/aktools image
2bb6c31
raw
history blame
305 Bytes
# Base image: kkqy/aktools
FROM kkqy/aktools:latest
# Hugging Face Spaces injects PORT env var (default 7860)
ENV PORT=7860
# Expose the port for documentation
EXPOSE 7860
# Start aktools binding to 0.0.0.0 and the PORT env variable
CMD ["sh", "-c", "python -m aktools --host 0.0.0.0 --port ${PORT}"]