vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 62b8500aaebcbc6c60671a9f7827a188e66c02cd
parent f645e5381c614ef8e07fd3123411ee2c460d9468
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Mon,  7 Jan 2019 01:36:01 +0100

Fix missing .env error in Dockerfile, the .env file is not needed for the Docker images

Diffstat:
MDockerfile | 3+--
MDockerfile.aarch64 | 3+--
MDockerfile.alpine | 3+--
MDockerfile.armv7 | 3+--
4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -76,9 +76,8 @@ VOLUME /data EXPOSE 80 EXPOSE 3012 -# Copies the files from the context (env file and web-vault) +# Copies the files from the context (Rocket.toml file and web-vault) # and the binary from the "build" stage to the current stage -COPY .env . COPY Rocket.toml . COPY --from=vault /web-vault ./web-vault COPY --from=build app/target/release/bitwarden_rs . diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 @@ -82,9 +82,8 @@ RUN [ "cross-build-end" ] VOLUME /data EXPOSE 80 -# Copies the files from the context (env file and web-vault) +# Copies the files from the context (Rocket.toml file and web-vault) # and the binary from the "build" stage to the current stage -COPY .env . COPY Rocket.toml . COPY --from=vault /web-vault ./web-vault COPY --from=build /app/target/aarch64-unknown-linux-gnu/release/bitwarden_rs . diff --git a/Dockerfile.alpine b/Dockerfile.alpine @@ -56,9 +56,8 @@ VOLUME /data EXPOSE 80 EXPOSE 3012 -# Copies the files from the context (env file and web-vault) +# Copies the files from the context (Rocket.toml file and web-vault) # and the binary from the "build" stage to the current stage -COPY .env . COPY Rocket.toml . COPY --from=vault /web-vault ./web-vault COPY --from=build /app/target/x86_64-unknown-linux-musl/release/bitwarden_rs . diff --git a/Dockerfile.armv7 b/Dockerfile.armv7 @@ -82,9 +82,8 @@ RUN [ "cross-build-end" ] VOLUME /data EXPOSE 80 -# Copies the files from the context (env file and web-vault) +# Copies the files from the context (Rocket.toml file and web-vault) # and the binary from the "build" stage to the current stage -COPY .env . COPY Rocket.toml . COPY --from=vault /web-vault ./web-vault COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs .