feat: support start the container as non-root user (close #45, close #47)

This commit is contained in:
ttionya committed 2022-06-30 23:30:51 +08:00
1 parent 44da441de0
commit c24263dd25
3 files changed
+9 -9

No files matched your search

+3 -1
View File
@@ -7,6 +7,8 @@ LABEL "repository"="https://github.com/ttionya/vaultwarden-backup" \
COPY scripts/*.sh /app/
RUN chmod +x /app/*.sh \
&& apk add --no-cache bash sqlite p7zip heirloom-mailx tzdata
&& apk add --no-cache bash heirloom-mailx p7zip sqlite supercronic tzdata \
&& ln -sf /tmp/localtime /etc/localtime \
&& mkdir -m 777 /bitwarden
ENTRYPOINT ["/app/entrypoint.sh"]