bw-export/Dockerfile

15 lines
316 B
Docker
Raw Permalink Normal View History

FROM node:22.12.0-alpine3.19
2023-03-19 21:07:09 +01:00
# install openssl
2025-01-06 17:47:59 +01:00
RUN apk update && \
apk add --no-cache openssl expect
2023-03-19 21:07:09 +01:00
# install bitwarden-cli
RUN npm install -g @bitwarden/cli
2023-03-19 21:07:09 +01:00
# 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" ]