Skip to content

Commit cc9addc

Browse files
committed
docker add git
1 parent 9f5f5c7 commit cc9addc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ LABEL [email protected]
44
ARG PIPMIRROR=https://pypi.org/simple
55
ENV sapic_isrun=true
66
COPY requirements /requirements
7-
RUN pip install --timeout 15 --index $PIPMIRROR --user --no-cache-dir --no-warn-script-location -r /requirements/all.txt && \
7+
RUN apt update && apt install -y git && \
8+
pip install --timeout 15 --index $PIPMIRROR --user --no-cache-dir --no-warn-script-location -r /requirements/all.txt && \
89
ln -sf /root/.local/bin/flask /root/.local/bin/gunicorn /bin/
910
WORKDIR /picbed
1011
COPY src /picbed

0 commit comments

Comments
 (0)