mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 17:23:04 +03:00
Dockerfile for building the web vault #2231
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @upUJTGifCXdJnqACJgxz on GitHub.
I've tried to build the web vault unsuccessfully using the latest "ubuntu" and "node" images on Docker Hub. Would it be possible to add a Dockerfile to that repository w/ the build steps?
Log: https://gist.github.com/hb3b/a2aea345abeb1ccc51bed77c9a14b59a
@dani-garcia commented on GitHub:
That's weird, if you clone https://github.com/bitwarden/web and then do:
Does that work fine?
@dani-garcia commented on GitHub:
The web vault is now building with a dockerfile so this can be closed
@dani-garcia commented on GitHub:
I think it makes sense to keep them here, because anyone building the web vault is doing so to use it with this project, so at least to me it makes sense to keep it all together in one place.
The biggest reason there is a separate repo is mostly because we are already using the releases page for the bitwarden_rs releases and I didn't want to mix and match.
About this issue, I wouldn't mind making a builder image, but I'm not sure how to make it so the compiled vault is moved to the host, and not just kept inside the image, where it would be useless.
@mprasil commented on GitHub:
Considering we do not directly build Vault for the official images anymore, wouldn't it make more sense to move the build instructions (and this issue) to the other project?