gfjiogopdfgdfs
commited on
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -53,11 +53,14 @@ RUN pip install huggingface-hub hf-transfer
|
|
53 |
ENV HF_HUB_ENABLE_HF_TRANSFER=1
|
54 |
# Ensure the model is downloaded into the current working directory (models folder)
|
55 |
RUN huggingface-cli download alpindale/MiquMaid-v2-2x70B-DPO-exl2-4bpw --local-dir ./ --local-dir-use-symlinks False --cache-dir ~/cache
|
|
|
|
|
56 |
WORKDIR $HOME/app/tabbyAPI
|
57 |
RUN echo "#!/bin/bash" > startup.sh
|
58 |
RUN echo "lt --port 5000 &" >> startup.sh
|
59 |
RUN echo "public_ip=\$(wget -qO- https://loca.lt/mytunnelpassword)" >> startup.sh
|
60 |
RUN echo "echo \"Public IP: \$public_ip\"" >> startup.sh
|
61 |
RUN chmod +x startup.sh
|
|
|
62 |
CMD /bin/bash -c "./startup.sh && python3 main.py"
|
63 |
|
|
|
53 |
ENV HF_HUB_ENABLE_HF_TRANSFER=1
|
54 |
# Ensure the model is downloaded into the current working directory (models folder)
|
55 |
RUN huggingface-cli download alpindale/MiquMaid-v2-2x70B-DPO-exl2-4bpw --local-dir ./ --local-dir-use-symlinks False --cache-dir ~/cache
|
56 |
+
WORKDIR $HOME/app/tabbyAPI/models/MiquMaid-v2-2x70B-DPO-exl2-4bpw
|
57 |
+
RUN curl -L https://huggingface.co/NeverSleep/MiquMaid-v2-2x70B/resolve/main/config.json?download=true -o $HOME/app/tabbyAPI/models/MiquMaid-v2-2x70B-DPO-exl2-4bpw/config.json
|
58 |
WORKDIR $HOME/app/tabbyAPI
|
59 |
RUN echo "#!/bin/bash" > startup.sh
|
60 |
RUN echo "lt --port 5000 &" >> startup.sh
|
61 |
RUN echo "public_ip=\$(wget -qO- https://loca.lt/mytunnelpassword)" >> startup.sh
|
62 |
RUN echo "echo \"Public IP: \$public_ip\"" >> startup.sh
|
63 |
RUN chmod +x startup.sh
|
64 |
+
|
65 |
CMD /bin/bash -c "./startup.sh && python3 main.py"
|
66 |
|