mirror of
https://github.com/Mastermindzh/bw-export
synced 2024-11-21 22:32:59 +01:00
ad6aa98f94
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277507 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-6474581 - https://snyk.io/vuln/SNYK-DEBIAN12-SYSTEMD-6277509
16 lines
371 B
Docker
16 lines
371 B
Docker
FROM node:20.15.0-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" ] |