some image sequencing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-03-16 17:16:09 +01:00
parent 19f3a6daf5
commit 97bb431b62
5 changed files with 50 additions and 18 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM ekidd/rust-musl-builder:nightly-2021-02-13 AS rust-build
USER root
RUN rustup target add x86_64-unknown-linux-musl
COPY . /app
WORKDIR /app
RUN cargo build --bins --release --target x86_64-unknown-linux-musl
FROM alpine:latest
WORKDIR /home
# Copy Rust artifacts
COPY --from=rust-build /app/target/x86_64-unknown-linux-musl/release/pixelrush ./app