Skip to content

Commit

Permalink
another docker build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Jul 3, 2024
1 parent be28dcf commit cd7490a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .devcontainer/Dockerfile-prod-vllm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cd7490a

Please sign in to comment.