Spaces:
Runtime error
Runtime error
File size: 477 Bytes
1a9a9fa | 1 2 3 4 5 6 7 8 9 10 11 | # Simple Dockerfile to run Langflow in a Hugging Face Docker Space.
# Uses the official Langflow image as base (keeps build fast).
FROM langflowai/langflow:latest
# Ensure PORT is available from the environment (Hugging Face sets it for Spaces)
ENV PORT=7860
EXPOSE 7860
# Optional: change log level or add extra flags if you want
# Use shell form so ${PORT} is expanded by the shell in the CMD.
CMD python -m langflow run --host 0.0.0.0 --port ${PORT:-7860} --log-level info |