Adding Dockerfile

This commit is contained in:
Marian Steinbach 2018-02-04 18:13:34 +01:00
parent 1fcc52925e
commit addbc6b140

11
service/Dockerfile Normal file
View file

@ -0,0 +1,11 @@
FROM python:3.6-alpine3.6
WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
EXPOSE 5000
ENTRYPOINT ["gunicorn", "--bind=0.0.0.0:5000", "api.main:app"]