coder / Dockerfile
GamerC0der's picture
Update Dockerfile
2451f9e verified
raw
history blame contribute delete
463 Bytes
# 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"]