Misty_Climate_Agent / Dockerfile
n0v33n
Resolving Timeout error
bcfe4cb
raw
history blame contribute delete
388 Bytes
FROM python:3.12-slim
WORKDIR /app
RUN pip install --upgrade pip
RUN apt-get update && apt-get install -y \
gcc \
g++ \
libffi-dev \
libssl-dev \
python3-dev \
libespeak1 \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /tmp && chmod 777 /tmp
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["python", "app.py"]