mirror of
https://github.com/netzbegruenung/green-spider-api.git
synced 2024-04-29 15:24:51 +02:00
14 lines
267 B
Docker
14 lines
267 B
Docker
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
|