refactor: move scripts to tabby/ (#48)

add-more-languages
Meng Zhang 2023-04-06 00:44:10 +08:00 committed by GitHub
parent aa7ed053ec
commit e36ddbac6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 6 deletions

View File

@ -53,8 +53,6 @@ RUN --mount=type=cache,target=$HOME/.cache pip install -i $PYPI_INDEX_URL --no-d
COPY tabby ./tabby
COPY deployment/scripts/tabby.sh ./.bin/
COPY deployment/scripts/triton.sh ./.bin/
# Setup file permissions
USER root
@ -65,4 +63,4 @@ RUN mkdir -p $HOME/.cache
RUN chown 1000 $HOME/.cache
USER 1000
CMD ["tabby.sh"]
CMD ["./tabby/scripts/tabby.sh"]

View File

@ -13,5 +13,3 @@ services:
STREAMLIT_RUN_ON_SAVE: true
volumes:
- ../tabby:/home/app/tabby
- ../deployment/scripts/tabby.sh:/home/app/.bin/tabby.sh:ro
- ../deployment/scripts/triton.sh:/home/app/.bin/triton.sh:ro

View File

@ -36,7 +36,7 @@ then
local TRITON_SERVER=$(cat <<EOF
[program:triton]
command=triton.sh
command=./tabby/scripts/triton.sh
EOF
)