Skip to content

Commit

Permalink
Merge pull request #138 from stefan0xC/rename-vaultwarden-web
Browse files Browse the repository at this point in the history
update to web-v2023.8.2 and rename to `Vaultwarden Web`
  • Loading branch information
dani-garcia authored Aug 31, 2023
2 parents a9d3374 + e94fdf1 commit 73ceed3
Show file tree
Hide file tree
Showing 3 changed files with 518 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# docker cp $image_id:/bw_web_vault.tar.gz .
# docker rm $image_id

FROM node:16-bullseye as build
FROM node:16-bookworm as build
RUN node --version && npm --version

# Prepare the folder to enable non-root, otherwise npm will refuse to run the postinstall
Expand All @@ -28,8 +28,8 @@ USER node
# Can be a tag, release, but prefer a commit hash because it's not changeable
# https://github.com/bitwarden/clients/commit/${VAULT_VERSION}
#
# Using https://github.com/bitwarden/clients/releases/tag/web-v2023.7.1
ARG VAULT_VERSION=42cbdbd25284460c2d9f02e3bdd8df962080b4d2
# Using https://github.com/bitwarden/clients/releases/tag/web-v2023.8.2
ARG VAULT_VERSION=b403f2bcc79426abb9d8f02c391b7c8158876960

WORKDIR /vault
RUN git init
Expand All @@ -45,7 +45,6 @@ RUN bash /apply_patches.sh

# Build
RUN npm ci
RUN npm audit fix || true

# Switch to the web apps folder
WORKDIR /vault/apps/web
Expand Down
Loading

0 comments on commit 73ceed3

Please sign in to comment.