refactor: move scripts to tabby/ (#48)
parent
aa7ed053ec
commit
e36ddbac6b
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ then
|
|||
|
||||
local TRITON_SERVER=$(cat <<EOF
|
||||
[program:triton]
|
||||
command=triton.sh
|
||||
command=./tabby/scripts/triton.sh
|
||||
EOF
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue