CyberCoder225 commited on
Commit
98a3cf8
·
verified ·
1 Parent(s): 2cd9f16

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 your app.py and brain.py files
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"]