[a5e8ec]: / prediction_api / Dockerfile

Download this file

12 lines (8 with data), 198 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
FROM python:3.8-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app.py /app
COPY src /app/src
EXPOSE 8000
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:8000"]