2018-07-30 09:51:41 +03:00
|
|
|
FROM alpine:latest
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . /app
|
2018-07-31 06:44:47 +03:00
|
|
|
RUN apk add --update --no-cache python2 py2-pip py2-gevent \
|
|
|
|
py2-flask py2-requests py2-pygments py2-redis \
|
|
|
|
py2-cffi py2-icu bash vim gawk sed \
|
2018-07-31 20:54:14 +03:00
|
|
|
&& apk add --no-cache --virtual build-deps python2-dev \
|
2018-07-31 06:44:47 +03:00
|
|
|
build-base git \
|
|
|
|
&& pip install -r requirements.txt \
|
|
|
|
&& sh share/scripts/get-sheets.sh \
|
2018-07-31 20:54:14 +03:00
|
|
|
&& apk del build-deps
|
2018-07-30 09:51:41 +03:00
|
|
|
ENTRYPOINT ["python2"]
|
2018-07-31 06:44:47 +03:00
|
|
|
CMD ["bin/srv.py"]
|