FROM python:3.10-slim ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 WORKDIR /app COPY requirements.txt /app/ COPY . /app RUN apt-get update && apt-get install -y gcc git \ && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir -r requirements.txt EXPOSE 7860 CMD ["python", "response_1.py"]