1
0
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:
James O'Beirne 2020-09-18 08:50:04 -04:00
parent c5eac91b36
commit 15ba15a69e
No known key found for this signature in database
GPG Key ID: 7A935DADB2C44F05

View File

@ -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 .