mirror of
https://github.com/Mastermindzh/bw-export
synced 2025-08-02 15:44:02 +02:00
feat: initial version
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM node:lts-slim
|
||||
|
||||
# install openssl
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends openssl && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
# install bitwarden-cli
|
||||
RUN npm install -g @bitwarden/cli@2023.2.0
|
||||
|
||||
# add the export script
|
||||
RUN mkdir -p /opt/bw-export
|
||||
COPY export.sh /opt/bw-export/export.sh
|
||||
|
||||
WORKDIR /opt/bw-export
|
||||
ENTRYPOINT [ "bash", "export.sh" ]
|
Reference in New Issue
Block a user