1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00
cheat.sh/Dockerfile

15 lines
471 B
Docker
Raw Normal View History

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 \
&& apk add --update --no-cache --virtual build-deps python2-dev \
build-base git \
&& pip install -r requirements.txt \
&& sh share/scripts/get-sheets.sh \
&& apk del build-deps \
&& rm -rf /var/cache/apk/*
ENTRYPOINT ["python2"]
2018-07-31 06:44:47 +03:00
CMD ["bin/srv.py"]