jet-search/Dockerfile

13 lines
208 B
Text
Raw Normal View History

2024-11-13 18:11:29 +01:00
FROM python:slim-bookworm
2024-11-12 22:07:35 +01:00
WORKDIR /usr/local/app
COPY src ./
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 5000
RUN useradd app
USER app
CMD ["gunicorn","-w 2", "-b 0.0.0.0:5000", "wsgi:app"]