Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Vaultwarden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Vaultwarden
Commits
62b8500a
Unverified
Commit
62b8500a
authored
6 years ago
by
Daniel García
Browse files
Options
Downloads
Patches
Plain Diff
Fix missing .env error in Dockerfile, the .env file is not needed for the Docker images
parent
f645e538
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Dockerfile
+1
-2
1 addition, 2 deletions
Dockerfile
Dockerfile.aarch64
+1
-2
1 addition, 2 deletions
Dockerfile.aarch64
Dockerfile.alpine
+1
-2
1 addition, 2 deletions
Dockerfile.alpine
Dockerfile.armv7
+1
-2
1 addition, 2 deletions
Dockerfile.armv7
with
4 additions
and
8 deletions
Dockerfile
+
1
−
2
View file @
62b8500a
...
@@ -76,9 +76,8 @@ VOLUME /data
...
@@ -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 .
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.aarch64
+
1
−
2
View file @
62b8500a
...
@@ -82,9 +82,8 @@ RUN [ "cross-build-end" ]
...
@@ -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 .
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.alpine
+
1
−
2
View file @
62b8500a
...
@@ -56,9 +56,8 @@ VOLUME /data
...
@@ -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 .
...
...
This diff is collapsed.
Click to expand it.
Dockerfile.armv7
+
1
−
2
View file @
62b8500a
...
@@ -82,9 +82,8 @@ RUN [ "cross-build-end" ]
...
@@ -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 .
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment