langflow / Dockerfile
FILM6912's picture
Upload folder using huggingface_hub
a016cc4 verified
raw
history blame contribute delete
700 Bytes
# Stage 1: Base image with Langflow
FROM film69/langflow:latest AS base
WORKDIR /app
USER root
# Set environment variables
ENV TZ=Asia/Bangkok \
DO_NOT_TRACK=true \
LANGFLOW_SAVE_DB_IN_CONFIG_DIR=true \
LANGFLOW_AUTO_SAVING_INTERVAL=1000 \
LANGFLOW_AUTO_SAVING=true \
LANGFLOW_AUTO_LOGIN=false \
LANGFLOW_STORE=true \
LANGFLOW_DEV=true \
LANGFLOW_COMPONENTS_PATH=/app/langflow_data/components/ \
LANGFLOW_CONFIG_DIR=/app/langflow_data/config/ \
LANGFLOW_LANGCHAIN_CACHE=InMemoryCache \
LANGFLOW_MAX_FILE_SIZE_UPLOAD=10000 \
LANGFLOW_PORT=7860
# Expose port
EXPOSE 7860
CMD ["python", "-m", "langflow", "run", "--host", "0.0.0.0", "--port", "7860"]