Spaces:
Runtime error
Runtime error
gfjiogopdfgdfs
commited on
Commit
•
21689de
1
Parent(s):
341e85d
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -22,8 +22,8 @@ RUN pip install huggingface-hub hf-transfer
|
|
22 |
ENV HF_HUB_ENABLE_HF_TRANSFER=1
|
23 |
RUN huggingface-cli download TheBloke/goliath-120b-gptq --local-dir ~/goliath-gptq --local-dir-use-symlinks False --cache-dir ~/cache
|
24 |
RUN echo "#!/bin/bash" > startup.sh
|
25 |
-
RUN echo "lt --port
|
26 |
RUN echo "public_ip=\$(wget -qO- https://loca.lt/mytunnelpassword)" >> startup.sh
|
27 |
RUN echo "echo \"Public IP: \$public_ip\"" >> startup.sh
|
28 |
RUN chmod +x startup.sh
|
29 |
-
CMD /bin/bash -c "./startup.sh && python3 $HOME/app/aphrodite-engine/aphrodite/endpoints/kobold/api_server.py $ENGINE_ARGS -h --model ~/goliath-gptq"
|
|
|
22 |
ENV HF_HUB_ENABLE_HF_TRANSFER=1
|
23 |
RUN huggingface-cli download TheBloke/goliath-120b-gptq --local-dir ~/goliath-gptq --local-dir-use-symlinks False --cache-dir ~/cache
|
24 |
RUN echo "#!/bin/bash" > startup.sh
|
25 |
+
RUN echo "lt --port 7860 &" >> startup.sh
|
26 |
RUN echo "public_ip=\$(wget -qO- https://loca.lt/mytunnelpassword)" >> startup.sh
|
27 |
RUN echo "echo \"Public IP: \$public_ip\"" >> startup.sh
|
28 |
RUN chmod +x startup.sh
|
29 |
+
CMD /bin/bash -c "./startup.sh && python3 $HOME/app/aphrodite-engine/aphrodite/endpoints/kobold/api_server.py $ENGINE_ARGS --port 7860 -h --model ~/goliath-gptq"
|