diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..94538b7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM python:3.6-alpine3.7 +MAINTAINER Jan Losinski + +ADD requirements.txt /tmp +RUN apk add -U --virtual .bdep \ + build-base \ + gcc \ + && \ + pip install -r /tmp/requirements.txt && \ + apk del .bdep + +ADD . /app +VOLUME /data + +WORKDIR /app + +EXPOSE 8080 + +CMD ./service.py --refresher --consumer --interface --env \ No newline at end of file