Simplified container build

This commit is contained in:
krateng 2022-04-23 20:13:50 +02:00
parent 029d0464b4
commit d81f8374c9
6 changed files with 6 additions and 25 deletions

View file

@ -15,16 +15,7 @@ RUN \
apk add py3-pip && \
pip install wheel
# these are more static than the real requirements, which means caching
COPY ./requirements_pre.txt ./requirements_pre.txt
RUN \
apk add --no-cache --virtual .build-deps {{ tool.osreqs.alpine.build | join(' ') }} && \
pip install --no-cache-dir -r requirements_pre.txt && \
apk del .build-deps
# less likely to be cached
COPY ./requirements.txt ./requirements.txt
RUN \