Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,10 +3,10 @@ FROM python:3.12
|
|
3 |
|
4 |
# Ustaw katalog roboczy
|
5 |
WORKDIR /code
|
6 |
-
RUN pip install --upgrade pip
|
7 |
# Uruchom polecenie, aby sklonować repozytorium Searx
|
8 |
RUN git clone https://github.com/searx/searx.git /code/searx-src
|
9 |
-
RUN
|
10 |
# Zainstaluj wymagane pakiety
|
11 |
RUN pip install -r /code/searx-src/requirements.txt
|
12 |
|
|
|
3 |
|
4 |
# Ustaw katalog roboczy
|
5 |
WORKDIR /code
|
6 |
+
RUN sudo pip install --upgrade pip
|
7 |
# Uruchom polecenie, aby sklonować repozytorium Searx
|
8 |
RUN git clone https://github.com/searx/searx.git /code/searx-src
|
9 |
+
RUN python -m venv venv && source venv/bin/activate
|
10 |
# Zainstaluj wymagane pakiety
|
11 |
RUN pip install -r /code/searx-src/requirements.txt
|
12 |
|