🐳 Run unpriviledged
This commit is contained in:
parent
43ddb362a9
commit
335e9f86e2
|
@ -18,5 +18,7 @@ ENV DATABASE=/data/ShareDAV.db
|
||||||
COPY --from=builder /src/ShareDAV /app/ShareDAV
|
COPY --from=builder /src/ShareDAV /app/ShareDAV
|
||||||
COPY --from=builder /data /data
|
COPY --from=builder /data /data
|
||||||
|
|
||||||
|
USER 1000:1000
|
||||||
|
|
||||||
ENTRYPOINT ["/app/ShareDAV"]
|
ENTRYPOINT ["/app/ShareDAV"]
|
||||||
CMD ["serve"]
|
CMD ["serve"]
|
Loading…
Reference in New Issue