Spaces:
Sleeping
Sleeping
- PLEASE bisa
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -5,6 +5,7 @@ WORKDIR /app
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
RUN pip install -U transformers accelerate peft huggingface_hub
|
|
|
|
| 8 |
# ✅ Set environment variable untuk cache model & tokenizers
|
| 9 |
ENV TRANSFORMERS_CACHE=/app/cache
|
| 10 |
ENV HF_HOME=/app/hf_cache
|
|
|
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
RUN pip install -U transformers accelerate peft huggingface_hub
|
| 8 |
+
RUN pip install 'uvicorn[standard]'
|
| 9 |
# ✅ Set environment variable untuk cache model & tokenizers
|
| 10 |
ENV TRANSFORMERS_CACHE=/app/cache
|
| 11 |
ENV HF_HOME=/app/hf_cache
|