Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -46,8 +46,10 @@ RUN echo "network:" > config.yml && \
|
|
46 |
echo " use_dummy_models: False" >> config.yml
|
47 |
WORKDIR $HOME/app/tabbyAPI/models
|
48 |
RUN pip install huggingface-hub hf-transfer
|
49 |
-
ENV HF_HUB_ENABLE_HF_TRANSFER=
|
50 |
# Ensure the model is downloaded into the current working directory (models folder)
|
51 |
-
RUN huggingface-cli download TheBloke/goliath-120b-gptq --local-dir ./ --
|
|
|
|
|
52 |
WORKDIR $HOME/app/tabbyAPI
|
53 |
CMD ["python3", "main.py"]
|
|
|
46 |
echo " use_dummy_models: False" >> config.yml
|
47 |
WORKDIR $HOME/app/tabbyAPI/models
|
48 |
RUN pip install huggingface-hub hf-transfer
|
49 |
+
ENV HF_HUB_ENABLE_HF_TRANSFER=1b
|
50 |
# Ensure the model is downloaded into the current working directory (models folder)
|
51 |
+
RUN huggingface-cli download TheBloke/goliath-120b-gptq --local-dir ./ --cache-dir ~/cache && \
|
52 |
+
mkdir -p GOLIATH && \
|
53 |
+
mv * GOLIATH/
|
54 |
WORKDIR $HOME/app/tabbyAPI
|
55 |
CMD ["python3", "main.py"]
|