fix: Docker upload location perms
This commit is contained in:
parent
01ca83b623
commit
b2da22325f
1 changed files with 1 additions and 0 deletions
|
@ -44,5 +44,6 @@ RUN useradd -ms /bin/bash -u 1001 dumbserve
|
|||
WORKDIR /home/dumbserve
|
||||
COPY --from=rust /src/target/release/dumbserve /usr/local/bin/
|
||||
#COPY --from=rust /src/config/default.toml /etc/dumbserve/config.toml
|
||||
RUN chown dumbserve:dumbserve /var/lib/dumbserve
|
||||
USER dumbserve
|
||||
CMD [ "/usr/local/bin/dumbserve" ]
|
||||
|
|
Loading…
Reference in a new issue