mirror of
https://github.com/krateng/maloja.git
synced 2026-05-05 07:10:14 +00:00
Simplified container build
This commit is contained in:
parent
029d0464b4
commit
d81f8374c9
6 changed files with 6 additions and 25 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue