openenv-emailops / Dockerfile
Utkarsh430's picture
Upload 4 files
47e89f3 verified
raw
history blame contribute delete
359 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the environment source
COPY . .
# Set environment variables for HF Spaces / Gradio
ENV PYTHONUNBUFFERED=1
ENV PYTHONPATH=/app
EXPOSE 7860
# Run the Gradio configuration app to interact with/view the environment
CMD ["python", "app.py"]