Chaitanya-aitf commited on
Commit
43c5ab9
·
verified ·
1 Parent(s): e4ad1a9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -1,2 +1,8 @@
1
  FROM huggingface/autotrain-advanced:latest
2
- CMD pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced && autotrain app --host 0.0.0.0 --port 7860 --workers 1
 
 
 
 
 
 
 
1
  FROM huggingface/autotrain-advanced:latest
2
+
3
+ RUN pip uninstall -y autotrain-advanced && \
4
+ pip install -U autotrain-advanced && \
5
+ pip install -U git+https://github.com/huggingface/transformers.git && \
6
+ pip install -U accelerate peft trl bitsandbytes
7
+
8
+ CMD ["autotrain", "app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]