From cd7490a1c7652c4ff061e06ec4392a84494638c8 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Wed, 3 Jul 2024 01:05:31 +0000 Subject: [PATCH] another docker build fix --- .devcontainer/Dockerfile-prod-vllm | 1 - scripts/release.sh | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile-prod-vllm b/.devcontainer/Dockerfile-prod-vllm index 8c1aabaf..d9c3cf08 100644 --- a/.devcontainer/Dockerfile-prod-vllm +++ b/.devcontainer/Dockerfile-prod-vllm @@ -15,7 +15,6 @@ COPY Cargo.toml Cargo.lock /workspace/ # make sure we rebuild these RUN rm -rf controllers/jsctrl/samples/dist controllers/jsctrl/ts/dist -RUN touch controllers/jsctrl/build.rs RUN grep -v rllm Cargo.toml > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml diff --git a/scripts/release.sh b/scripts/release.sh index 3f957dff..2b3d4227 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -38,6 +38,9 @@ if test -z "$SKIP_LLAMA_CPP" ; then FOLDERS="$FOLDERS rllm/rllm-llamacpp" fi +# fix docker build issues +test -f controllers/jsctrl/ts/dist/aici.js || touch controllers/jsctrl/build.rs + for f in $FOLDERS ; do echo "Build $f..." (cd $f && cargo build --release)