Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -36,6 +36,7 @@ RUN python3 -c "from transformers import AutoTokenizer, AutoModelForCausalLM; \
|
|
| 36 |
AutoTokenizer.from_pretrained(model_name); \
|
| 37 |
AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)"
|
| 38 |
# Copy the rest of the application code
|
|
|
|
| 39 |
COPY . .
|
| 40 |
|
| 41 |
# Create a non-root user for security (Best Practice)
|
|
|
|
| 36 |
AutoTokenizer.from_pretrained(model_name); \
|
| 37 |
AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True)"
|
| 38 |
# Copy the rest of the application code
|
| 39 |
+
|
| 40 |
COPY . .
|
| 41 |
|
| 42 |
# Create a non-root user for security (Best Practice)
|