mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-23 02:25:53 +03:00
Dockerfile clean up
This commit is contained in:
parent
1d042ed104
commit
6b48b06f20
15
Dockerfile
15
Dockerfile
@ -1,9 +1,14 @@
|
||||
FROM alpine:latest
|
||||
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
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN 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
|
||||
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"]
|
||||
CMD ["bin/srv.py"]
|
||||
CMD ["bin/srv.py"]
|
||||
|
Loading…
Reference in New Issue
Block a user