gfjiogopdfgdfs commited on
Commit
0e06b05
·
verified ·
1 Parent(s): 7334878

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -6
Dockerfile CHANGED
@@ -52,9 +52,4 @@ ENV HF_HUB_ENABLE_HF_TRANSFER=1
52
  # Ensure the model is downloaded into the current working directory (models folder)
53
  RUN huggingface-cli download TheBloke/goliath-120b-gptq --local-dir ./ --local-dir-use-symlinks False --cache-dir ~/cache
54
  WORKDIR $HOME/app/tabbyAPI
55
- RUN echo "#!/bin/bash" > startup.sh
56
- RUN echo "lt --port 7860 &" >> startup.sh
57
- RUN echo "public_ip=\$(wget -qO- https://loca.lt/mytunnelpassword)" >> startup.sh
58
- RUN echo "echo \"Public IP: \$public_ip\"" >> startup.sh
59
- RUN chmod +x startup.sh
60
- CMD ["sh", "-c", "chmod +x startup.sh && ./startup.sh && python3 main.py"]
 
52
  # Ensure the model is downloaded into the current working directory (models folder)
53
  RUN huggingface-cli download TheBloke/goliath-120b-gptq --local-dir ./ --local-dir-use-symlinks False --cache-dir ~/cache
54
  WORKDIR $HOME/app/tabbyAPI
55
+ CMD ["python3", "main.py"]