interview_agents_api / Dockerfile
QuentinL52's picture
Update Dockerfile
8f5b423 verified
raw
history blame
314 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV HF_HOME=/app/cache
RUN mkdir -p /app/cache
RUN apt-get update && apt-get install -y redis-server && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x ./start.sh
EXPOSE 7860
CMD ["./start.sh"]