File size: 463 Bytes
2451f9e
 
784d66f
2451f9e
 
 
 
 
 
 
 
784d66f
1
2
3
4
5
6
7
8
9
10
11
12
13
# Use pre-built Docker Hub image for Hugging Face Spaces
FROM docker.io/gamerc0der/astrachat:7860

# Expose port 7860 for Hugging Face Spaces
EXPOSE 7860

# Set environment variables for HF Spaces
ENV NODE_ENV=production \
    RUNNING_IN_DOCKER=true

# Default command (should already be set in the base image)
CMD ["sh", "-c", "bindings=$(./bindings.sh) && wrangler pages dev ./build/client $bindings --ip 0.0.0.0 --port 7860 --no-show-interactive-dev-session"]