oki0ki commited on
Commit
98e68b0
·
verified ·
1 Parent(s): 4027397

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -4
Dockerfile CHANGED
@@ -1,6 +1,5 @@
1
  FROM python:3.11-slim
2
 
3
- # Zmienne środowiskowe
4
  ENV PYTHONUNBUFFERED=1 \
5
  PORT=7860 \
6
  LLAMA_NO_CUDA=1 \
@@ -10,14 +9,12 @@ ENV PYTHONUNBUFFERED=1 \
10
  USE_MLOCK=0 \
11
  FLASH_ATTN=0
12
 
13
- # Instalacja zależności systemowych
14
  RUN apt-get update && apt-get install -y --no-install-recommends \
15
  curl \
16
  ca-certificates \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
- # Instalacja Python dependencies
20
- # Ważne: Instalujemy wszystkie zależności serwera HTTP razem
21
  RUN pip install --no-cache-dir \
22
  huggingface_hub>=0.24.0 \
23
  uvicorn==0.30.1 \
 
1
  FROM python:3.11-slim
2
 
 
3
  ENV PYTHONUNBUFFERED=1 \
4
  PORT=7860 \
5
  LLAMA_NO_CUDA=1 \
 
9
  USE_MLOCK=0 \
10
  FLASH_ATTN=0
11
 
 
12
  RUN apt-get update && apt-get install -y --no-install-recommends \
13
  curl \
14
  ca-certificates \
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
+ # Instalacja wszystkich niezbędnych pakietów
 
18
  RUN pip install --no-cache-dir \
19
  huggingface_hub>=0.24.0 \
20
  uvicorn==0.30.1 \