1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-12 06:33:57 +00:00

Remove some duplicate code in Dockerfile with the help of some variables

This commit is contained in:
Daniel García 2020-10-11 17:26:49 +02:00
parent 34ee326ce9
commit 257b143df1
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
4 changed files with 46 additions and 126 deletions

View file

@ -32,7 +32,6 @@ RUN rustup set profile minimal
ENV USER "root"
ENV RUSTFLAGS='-C link-arg=-s'
# Creates a dummy project used to grab dependencies
RUN USER=root cargo new --bin /app
WORKDIR /app