FROM python:3.9-slim ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1 ENV TZ=Asia/Shanghai WORKDIR /app # Install git RUN apt-get update && apt-get install -y git # Clone the repository RUN git clone https://github.com/Chenyme/oaifree-tools.git /app && \ apk del git # Install dependencies RUN pip install --no-cache-dir -r requirements.txt CMD ["streamlit", "run", "/app/home.py"]