mirror of
https://github.com/Blair-SGA-Dev-Team/blazerapp.git
synced 2024-11-24 05:31:16 -05:00
production deployment in docker
This commit is contained in:
parent
9547d894ea
commit
de057d4039
|
@ -6,5 +6,5 @@ RUN cargo build --release
|
||||||
FROM ubuntu:20.04 AS release
|
FROM ubuntu:20.04 AS release
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
COPY --from=build /build/target/release/cms ./cms
|
COPY --from=build /build/target/release/cms ./cms
|
||||||
CMD [ "./cms" ]
|
CMD [ "./cms", "-r" ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user