4
0
This repository has been archived on 2020-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
classification-service/Dockerfile

10 lines
243 B
Docker
Raw Normal View History

2020-04-15 00:33:06 +02:00
FROM python:3
2020-03-09 18:52:15 +01:00
2020-04-15 00:33:06 +02:00
ADD classification_service requirements.txt /classification_service/
WORKDIR /classification_service/
2020-03-09 18:52:15 +01:00
2020-04-15 00:33:06 +02:00
RUN pip3 install -r requirements.txt && pip3 install gunicorn
2020-03-09 18:52:15 +01:00
2020-04-15 00:33:06 +02:00
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]