mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-12 16:51:16 -05:00
11 lines
208 B
Docker
11 lines
208 B
Docker
FROM rustlang/rust:nightly AS build
|
|
COPY / /build
|
|
WORKDIR /build
|
|
RUN cargo build --release
|
|
|
|
FROM ubuntu:20.04 AS release
|
|
WORKDIR /root
|
|
COPY --from=build /build/target/release/cms ./cms
|
|
CMD [ "./cms", "-r" ]
|
|
|