mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
docker: account for host/container permission differences
This commit is contained in:
parent
c5eac91b36
commit
15ba15a69e
@ -8,9 +8,11 @@ RUN apt-get update \
|
||||
|
||||
RUN adduser --disabled-login --system --shell /bin/false --uid 1000 user
|
||||
|
||||
USER user
|
||||
WORKDIR /home/user
|
||||
COPY ./ /home/user
|
||||
RUN chown -R user .
|
||||
|
||||
USER user
|
||||
|
||||
RUN cargo install --path .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user