Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -34,9 +34,12 @@ RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(rep
|
|
| 34 |
# 5. Maira Art - SWAPPED to Granite 2B (Open Model, no login needed)
|
| 35 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='bartowski/granite-3.0-2b-instruct-GGUF', filename='granite-3.0-2b-instruct-Q4_K_M.gguf', local_dir='.')"
|
| 36 |
|
| 37 |
-
# Copy
|
| 38 |
COPY . .
|
| 39 |
|
|
|
|
|
|
|
|
|
|
| 40 |
# Start the engine
|
| 41 |
EXPOSE 7860
|
| 42 |
CMD ["python3", "app.py"]
|
|
|
|
| 34 |
# 5. Maira Art - SWAPPED to Granite 2B (Open Model, no login needed)
|
| 35 |
RUN python3 -c "from huggingface_hub import hf_hub_download; hf_hub_download(repo_id='bartowski/granite-3.0-2b-instruct-GGUF', filename='granite-3.0-2b-instruct-Q4_K_M.gguf', local_dir='.')"
|
| 36 |
|
| 37 |
+
# Copy all files into the container
|
| 38 |
COPY . .
|
| 39 |
|
| 40 |
+
# Set environment variable to prevent Python from buffering logs (so you can see them!)
|
| 41 |
+
ENV PYTHONUNBUFFERED=1
|
| 42 |
+
|
| 43 |
# Start the engine
|
| 44 |
EXPOSE 7860
|
| 45 |
CMD ["python3", "app.py"]
|