Fixed docker permissions

This commit is contained in:
saundersp 2025-01-02 01:18:59 +01:00
parent 32ffe0155c
commit 7cf9e40687
2 changed files with 4 additions and 4 deletions

View File

@ -14,10 +14,10 @@ RUN apk add --no-cache \
ARG UID=1000
ARG GID=1000
RUN adduser -D -u "${UID}" -g "${GID}" notebook
RUN adduser -D -u "${UID}" -g "${GID}" saundersp
WORKDIR /home/notebook
USER saundersp
USER notebook
WORKDIR /home/saundersp/notebook
ENTRYPOINT ["make"]

View File

@ -8,4 +8,4 @@ services:
pull_policy: never
user: ${UID:-1000}:${GID:-1000}
volumes:
- ./:/home/notebook/
- ./:/home/saundersp/notebook/