Skip to content

Commit

Permalink
base image already has /data folder
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasRosenstein committed Oct 11, 2024
1 parent b59aeae commit 8446731
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vaultwarden-fly-io/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ RUN echo 'vaultwarden ALL=(ALL) NOPASSWD:SETENV: /usr/bin/geesefs' >> /etc/sudoe
WORKDIR /etc/vaultwarden
COPY entrypoint.sh .
RUN addgroup -S vaultwarden && adduser -S vaultwarden -G vaultwarden
RUN mkdir /data && \
touch /etc/litestream.yml && \
RUN touch /etc/litestream.yml && \
chown -R vaultwarden:vaultwarden /data /etc/vaultwarden /etc/litestream.yml
USER vaultwarden
ENTRYPOINT [ "/bin/sh", "/etc/vaultwarden/entrypoint.sh" ]

0 comments on commit 8446731

Please sign in to comment.