From 7d85f0fbafb0f776a3734af21d61328cf085241b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 6 Nov 2024 15:02:31 +0100 Subject: [PATCH] chore(rundev): fix venv permission --- dev-docker/weblate-dev/Dockerfile | 2 +- dev-docker/weblate-dev/start-dev | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-docker/weblate-dev/Dockerfile b/dev-docker/weblate-dev/Dockerfile index 505be0f513ea..2246e13ff58b 100644 --- a/dev-docker/weblate-dev/Dockerfile +++ b/dev-docker/weblate-dev/Dockerfile @@ -52,6 +52,6 @@ RUN apt-get update && apt-get install -y \ COPY --link --chmod=0755 start-dev /app/bin/ # List should match weblate/weblate -RUN chown -R "${USER_ID}:${GROUP_ID}" /etc/nginx/sites-available/ /var/log/nginx/ /var/lib/nginx /app/data /app/cache /run /home/weblate /etc/localtime /etc/supervisor/conf.d /tmp/localtime +RUN chown -R "${USER_ID}:${GROUP_ID}" /etc/nginx/sites-available/ /var/log/nginx/ /var/lib/nginx /app/data /app/cache /run /home/weblate /etc/localtime /etc/supervisor/conf.d /tmp/localtime /app/venv ENTRYPOINT ["/app/bin/start-dev"] diff --git a/dev-docker/weblate-dev/start-dev b/dev-docker/weblate-dev/start-dev index 0ce4348401fe..29d1bb05fed1 100755 --- a/dev-docker/weblate-dev/start-dev +++ b/dev-docker/weblate-dev/start-dev @@ -9,6 +9,6 @@ set -e # shellcheck disable=SC1091 . /app/venv/bin/activate -uv pip install --cache-dir /app/cache/uv --editable /app/src +uv pip install --cache-dir /app/data/uv-cache --editable /app/src /app/bin/start "$@"