bw-export/Dockerfile

16 lines
371 B
Docker
Raw Normal View History

FROM node:20.15.0-slim
2023-03-19 21:07:09 +01:00
# install openssl
RUN apt-get update && \
apt-get install -y --no-install-recommends openssl expect && \
2023-03-19 21:07:09 +01:00
rm -rf /var/cache/apk/*
# 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" ]