File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ FROM alpine:3.12
33# # installing dependencies
44RUN apk add --update --no-cache git py3-six py3-pygments py3-yaml py3-gevent \
55 libstdc++ py3-colorama py3-requests py3-icu py3-redis
6+ # # copying
7+ WORKDIR /app
8+ COPY . /app
69# # building missing python packages
7- COPY requirements.txt /tmp
810RUN apk add --no-cache --virtual build-deps py3-pip g++ python3-dev libffi-dev \
911 && pip3 install --no-cache-dir --upgrade pygments \
10- && pip3 install --no-cache-dir -r /tmp/ requirements.txt \
12+ && pip3 install --no-cache-dir -r requirements.txt \
1113 && apk del build-deps
12- # # copying
13- WORKDIR /app
14- COPY . /app
14+ # fetching dependencies
1515RUN mkdir -p /root/.cheat.sh/log/ \
1616 && python3 lib/fetch.py fetch-all
1717
You can’t perform that action at this time.
0 commit comments