FROM python:3.12-slim WORKDIR /app # Copy only necessary files and directories COPY src/auracaster_webui/ ./src/auracaster_webui/ COPY src/api_client/ ./src/api_client/ # Install the package RUN pip install --no-cache-dir . # Expose Streamlit port EXPOSE 8501 # Set environment variables ENV PYTHONUNBUFFERED=1 # Run the Streamlit app CMD ["auracaster-webui"]