1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-26 14:56:13 +01:00

Disable pip caching

This commit is contained in:
Daniele Viganò 2020-06-26 22:05:18 +02:00
parent c5418c0734
commit fe61ebbd9d
Signed by: dani
GPG Key ID: DB49AFC03C40EE02

View File

@ -32,7 +32,7 @@ RUN apk update && apk add --no-cache postgresql-libs \
| tar -xz -C /usr/local/bin | tar -xz -C /usr/local/bin
COPY --from=builder /usr/local/lib/python3.8/site-packages/ /usr/local/lib/python3.8/site-packages/ COPY --from=builder /usr/local/lib/python3.8/site-packages/ /usr/local/lib/python3.8/site-packages/
COPY --chown=1000:1000 requirements.txt /srv/app/bite/requirements.txt COPY --chown=1000:1000 requirements.txt /srv/app/bite/requirements.txt
RUN pip3 install -r /srv/app/bite/requirements.txt RUN pip3 install --no-cache-dir -r /srv/app/bite/requirements.txt
COPY --chown=1000:1000 bite /srv/app/bite COPY --chown=1000:1000 bite /srv/app/bite
RUN python3 -m compileall -q /srv/app/bite \ RUN python3 -m compileall -q /srv/app/bite \