2019-11-26 00:02:39 +01:00
|
|
|
FROM python:alpine
|
|
|
|
|
|
|
|
RUN pip install --upgrade pip
|
|
|
|
|
2019-11-26 23:44:51 +01:00
|
|
|
RUN pip install sanic
|
2019-11-26 00:02:39 +01:00
|
|
|
|
2019-11-26 23:44:51 +01:00
|
|
|
RUN pip install sanic-simple-swagger
|
2019-11-26 00:02:39 +01:00
|
|
|
|
|
|
|
RUN pip install python-dateutil
|
|
|
|
|
|
|
|
RUN pip install realog
|
|
|
|
|
2019-12-09 23:33:34 +01:00
|
|
|
RUN pip install python-magic
|
|
|
|
|
2019-11-26 00:02:39 +01:00
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
ADD src /application/
|
|
|
|
WORKDIR /application/
|
|
|
|
CMD ["python", "-u", "./app_video.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|