From 78100ab5be2ec893df4feed15de2f2968a4cf0f5 Mon Sep 17 00:00:00 2001 From: Simeon Romanov Date: Tue, 19 Sep 2023 19:15:31 +0300 Subject: [PATCH] update changelog --- CHANGELOG.md | 1 + dockerfiles/alpine/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55d58395..500859cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,3 +7,4 @@ Bob Management GUI changelog #### Added - Initial project structure (#1) +- Dockerfile and Docker-Compose to simplify deployment (#5) diff --git a/dockerfiles/alpine/Dockerfile b/dockerfiles/alpine/Dockerfile index c18552ad..f9dd1e65 100644 --- a/dockerfiles/alpine/Dockerfile +++ b/dockerfiles/alpine/Dockerfile @@ -27,14 +27,14 @@ RUN echo "fn main() {println!(\"if you see this, the build broke\")}" > backend/ && echo "fn main() {println!(\"if you see this, the build broke\")}" > frontend/build.rs \ && echo "fn main() {println!(\"if you see this, the build broke\")}" > cli/src/lib.rs \ && echo "fn main() {println!(\"if you see this, the build broke\")}" > build.rs \ - && cargo build -p bob_management --features backend --no-default-features --profile=$BUILD_PROFILE --target=$BUILD_TARGET + && cargo build-backend --profile=$BUILD_PROFILE --target=$BUILD_TARGET ADD . ./ RUN \ # --mount=type=cache,target=/usr/local/cargo/registry \ # --mount=type=cache,target=/home/root/app/target \ - cargo build -p bob_management --features backend --no-default-features --profile=$BUILD_PROFILE --target=$BUILD_TARGET \ + cargo build-backend --profile=$BUILD_PROFILE --target=$BUILD_TARGET \ && mkdir /build_output \ && cp -f target/$BUILD_TARGET/$BUILD_PROFILE/backend /build_output/backend