Web service API für Green Spider https://github.com/netzbegruenung/green-spider
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
267 B

FROM python:3.6.7-slim-jessie
ADD requirements.txt /
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
ADD jsonhandler.py /
ADD main.py /
ENTRYPOINT ["gunicorn", "--bind=0.0.0.0:5000", "--access-logfile=-", "main:app"]
EXPOSE 5000