DuckDuckGoBackend / Dockerfile
sheltonmaharesh's picture
Deploy backend Flask app
20068d5 verified
raw
history blame contribute delete
227 Bytes
FROM python:3.9-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
EXPOSE 7860
ENV MPLCONFIGDIR=/tmp/matplotlib
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "bot_detector_api:app"]