feat(docker): add poetry caching

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-11-10 13:00:01 -08:00
parent 0c57c53da1
commit 4b2be7fff8
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -1,5 +1,8 @@
FROM archlinux:base-devel FROM archlinux:base-devel
VOLUME /root/.cache/pypoetry/cache
VOLUME /root/.cache/pypoetry/artifacts
ENV PATH="/root/.poetry/bin:${PATH}" ENV PATH="/root/.poetry/bin:${PATH}"
ENV PYTHONPATH=/aurweb ENV PYTHONPATH=/aurweb
ENV AUR_CONFIG=conf/config ENV AUR_CONFIG=conf/config