fix: create upload dir and set perms
This commit is contained in:
parent
b2da22325f
commit
2c429a881d
1 changed files with 1 additions and 1 deletions
|
@ -44,6 +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
|
||||
RUN mkdir /var/lib/dumbserve && chown dumbserve:dumbserve /var/lib/dumbserve
|
||||
USER dumbserve
|
||||
CMD [ "/usr/local/bin/dumbserve" ]
|
||||
|
|
Loading…
Reference in a new issue