mirror of
https://github.com/Mastermindzh/bw-export
synced 2025-01-20 10:30:36 +01:00
15 lines
316 B
Docker
15 lines
316 B
Docker
FROM node:22.12.0-alpine3.19
|
|
|
|
# install openssl
|
|
RUN apk update && \
|
|
apk add --no-cache openssl expect
|
|
|
|
# install bitwarden-cli
|
|
RUN npm install -g @bitwarden/cli
|
|
|
|
# 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" ] |