Skip to content

Commit

Permalink
chore(rundev): fix venv permission
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Nov 6, 2024
1 parent a8b4647 commit 7d85f0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev-docker/weblate-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion dev-docker/weblate-dev/start-dev
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"

0 comments on commit 7d85f0f

Please sign in to comment.