Skip to content

Commit a6a31c7

Browse files
committed
fix: Update python version in Dockerfile site-packages permissions
1 parent 5cb6b61 commit a6a31c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip && \
4848
RUN /venv/bin/python -m playwright install --with-deps chromium
4949

5050
# Fix site-packages permissions
51-
RUN find /venv/lib/python3.10/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
51+
RUN find /venv/lib/python3.12/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
5252

5353
# Switch to appuser
5454
USER appuser
@@ -72,7 +72,7 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip && \
7272
RUN /venv/bin/python -m playwright install --with-deps chromium
7373

7474
# Fix site-packages permissions
75-
RUN find /venv/lib/python3.10/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
75+
RUN find /venv/lib/python3.12/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
7676

7777
# Switch to appuser
7878
USER appuser

0 commit comments

Comments
 (0)