mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 18:55:57 +03:00
Make cargo new
independent of workdir to be exact
The muslrust images seem to have a workdir of /volume as opposed to / in the others so doing cargo new like this would create the folder in /volume/app.
This commit is contained in:
committed by
Robin Schneider
parent
47a5a4e1fc
commit
7a0bb18dcf
@@ -48,7 +48,7 @@ RUN sed 's/^deb/deb-src/' /etc/apt/sources.list > \
|
||||
libc6-dev:armhf
|
||||
|
||||
# Creates a dummy project used to grab dependencies
|
||||
RUN USER=root cargo new --bin app
|
||||
RUN USER=root cargo new --bin /app
|
||||
WORKDIR /app
|
||||
|
||||
# Copies over *only* your manifests and build files
|
||||
|
Reference in New Issue
Block a user