OjciecTadeusz commited on
Commit
0e70b27
·
verified ·
1 Parent(s): fe9d7b4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,10 +12,10 @@ RUN pip install --no-cache-dir -r requirements.txt
12
  COPY . .
13
 
14
  # Ustaw zmienną środowiskową dla tokenu
15
- ENV HF_API_TOKEN=twoj_token_tutaj
16
 
17
  # Ustaw port
18
  EXPOSE 7860
19
 
20
  # Uruchom serwer FastAPI
21
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
12
  COPY . .
13
 
14
  # Ustaw zmienną środowiskową dla tokenu
15
+ ENV HF_API_TOKEN=$HF_API_TOKEN
16
 
17
  # Ustaw port
18
  EXPOSE 7860
19
 
20
  # Uruchom serwer FastAPI
21
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]