blazerapp/cms/Dockerfile

11 lines
208 B
Docker
Raw Normal View History

2021-08-29 14:59:11 -04:00
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
2021-09-12 21:41:09 -04:00
CMD [ "./cms", "-r" ]
2021-08-29 14:59:11 -04:00