Combine update and make

This commit is contained in:
Ruakij 2022-11-23 18:41:36 +01:00
parent 471d42618d
commit 14e9f7ee35

View File

@ -10,10 +10,8 @@ WORKDIR /build
RUN apk add --no-cache make libc-dev build-base RUN apk add --no-cache make libc-dev build-base
# Copy sources # Copy sources
ADD .build/repository/ . ADD .build/repository/ .
# Update dependencies # Update dependencies and Compile
RUN cargo update RUN cargo update && TARGET="release" make
# Compile
RUN TARGET="release" make
# ---- Release ---- # ---- Release ----