mirror of
https://github.com/Mastermindzh/bw-export
synced 2024-11-21 14:22:53 +01:00
16 lines
367 B
Docker
16 lines
367 B
Docker
FROM node:lts-slim
|
|
|
|
# install openssl
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends openssl expect && \
|
|
rm -rf /var/cache/apk/*
|
|
|
|
# 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" ] |