Fixed docker permissions
This commit is contained in:
parent
32ffe0155c
commit
7cf9e40687
@ -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"]
|
||||
|
@ -8,4 +8,4 @@ services:
|
||||
pull_policy: never
|
||||
user: ${UID:-1000}:${GID:-1000}
|
||||
volumes:
|
||||
- ./:/home/notebook/
|
||||
- ./:/home/saundersp/notebook/
|
||||
|
Loading…
x
Reference in New Issue
Block a user