Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
jbilcke-hf committed Nov 24, 2024
1 parent 35f508a commit 58413f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ COPY --chown=user . /app

RUN bun i

RUN bun run build
# this step can be done by the developer,
# and the file uploaded using HF CLI tools
# RUN bun run build

EXPOSE 3000

Expand Down
11 changes: 11 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
echo "checking dependencies.."
nvm use
bun i

echo "building all packages.."
bun run build:all

echo "uploading assets.."
rm -Rf node_modules/.cache
huggingface-cli upload "jbilcke-hf/clapper" . . --repo-type=space

0 comments on commit 58413f8

Please sign in to comment.