1
0
mirror of https://github.com/algora-io/tv.git synced 2025-01-25 01:32:39 +02:00

init root dir for hf cache

This commit is contained in:
zafer 2024-05-12 14:41:55 +03:00
parent 468b64cf13
commit 4874135375

View File

@ -79,6 +79,11 @@ ENV LC_ALL en_US.UTF-8
WORKDIR "/app"
RUN chown nobody /app
# Needed because :image creates an hf cache folder
# /nonexistent/.cache/bumblebee/huggingface/microsoft--resnet-50
RUN mkdir /nonexistent
RUN chown nobody /nonexistent
# Only copy the final release from the build stage
COPY --from=builder --chown=nobody:root /app/_build/prod/rel/algora ./