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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -12,7 +12,7 @@ RUN pip install --no-cache-dir -r requirements.txt
12
  COPY . .
13
 
14
  # Ustaw zmienną środowiskową dla tokenu
15
- ENV HF_API_TOKEN=$HF_API_TOKEN
16
 
17
  # Ustaw port
18
  EXPOSE 7860
 
12
  COPY . .
13
 
14
  # Ustaw zmienną środowiskową dla tokenu
15
+ ENV HF_API_TOKEN=$(cat /run/secrets/HF_API_TOKEN)
16
 
17
  # Ustaw port
18
  EXPOSE 7860