Browse Source
Fix missing .env error in Dockerfile, the .env file is not needed for the Docker images
pull/343/head
Daniel García
6 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
4 changed files with
4 additions and
8 deletions
-
Dockerfile
-
Dockerfile.aarch64
-
Dockerfile.alpine
-
Dockerfile.armv7
|
@ -76,9 +76,8 @@ VOLUME /data |
|
|
EXPOSE 80 |
|
|
EXPOSE 80 |
|
|
EXPOSE 3012 |
|
|
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 |
|
|
# and the binary from the "build" stage to the current stage |
|
|
COPY .env . |
|
|
|
|
|
COPY Rocket.toml . |
|
|
COPY Rocket.toml . |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=build app/target/release/bitwarden_rs . |
|
|
COPY --from=build app/target/release/bitwarden_rs . |
|
|
|
@ -82,9 +82,8 @@ RUN [ "cross-build-end" ] |
|
|
VOLUME /data |
|
|
VOLUME /data |
|
|
EXPOSE 80 |
|
|
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 |
|
|
# and the binary from the "build" stage to the current stage |
|
|
COPY .env . |
|
|
|
|
|
COPY Rocket.toml . |
|
|
COPY Rocket.toml . |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=build /app/target/aarch64-unknown-linux-gnu/release/bitwarden_rs . |
|
|
COPY --from=build /app/target/aarch64-unknown-linux-gnu/release/bitwarden_rs . |
|
|
|
@ -56,9 +56,8 @@ VOLUME /data |
|
|
EXPOSE 80 |
|
|
EXPOSE 80 |
|
|
EXPOSE 3012 |
|
|
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 |
|
|
# and the binary from the "build" stage to the current stage |
|
|
COPY .env . |
|
|
|
|
|
COPY Rocket.toml . |
|
|
COPY Rocket.toml . |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=build /app/target/x86_64-unknown-linux-musl/release/bitwarden_rs . |
|
|
COPY --from=build /app/target/x86_64-unknown-linux-musl/release/bitwarden_rs . |
|
|
|
@ -82,9 +82,8 @@ RUN [ "cross-build-end" ] |
|
|
VOLUME /data |
|
|
VOLUME /data |
|
|
EXPOSE 80 |
|
|
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 |
|
|
# and the binary from the "build" stage to the current stage |
|
|
COPY .env . |
|
|
|
|
|
COPY Rocket.toml . |
|
|
COPY Rocket.toml . |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=vault /web-vault ./web-vault |
|
|
COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs . |
|
|
COPY --from=build /app/target/armv7-unknown-linux-gnueabihf/release/bitwarden_rs . |
|
|