adowu commited on
Commit
6ff14ed
·
verified ·
1 Parent(s): 04e7958

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -3,15 +3,15 @@ FROM python:3.12
3
 
4
  # Ustaw katalog roboczy
5
  WORKDIR /code
6
-
 
7
  # Skopiuj plik requirements.txt do kontenera
8
  COPY requirements.txt .
9
 
10
  # Zainstaluj wymagane pakiety
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
- # Uruchom polecenie, aby sklonować repozytorium Searx
14
- RUN git clone https://github.com/searx/searx.git /code/searx-src
15
 
16
  # Skopiuj zawartość katalogu searx-src do kontenera
17
  COPY searx-src /code/searx-src
@@ -31,7 +31,7 @@ RUN cd /code/searx-src && pip install -e .
31
  ENV SEARX_SETTINGS_PATH=/etc/searx/settings.yml
32
 
33
  # Skopiuj domyślny plik ustawień do kontenera
34
- COPY searx-src/utils/templates/etc/searx/use_default_settings.yml /etc/searx/settings.yml
35
 
36
  # Udostępnij port 8888
37
  EXPOSE 8888
 
3
 
4
  # Ustaw katalog roboczy
5
  WORKDIR /code
6
+ # Uruchom polecenie, aby sklonować repozytorium Searx
7
+ RUN git clone https://github.com/searx/searx.git /code/searx-src
8
  # Skopiuj plik requirements.txt do kontenera
9
  COPY requirements.txt .
10
 
11
  # Zainstaluj wymagane pakiety
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
+
 
15
 
16
  # Skopiuj zawartość katalogu searx-src do kontenera
17
  COPY searx-src /code/searx-src
 
31
  ENV SEARX_SETTINGS_PATH=/etc/searx/settings.yml
32
 
33
  # Skopiuj domyślny plik ustawień do kontenera
34
+ COPY code/searx-src/utils/templates/etc/searx/use_default_settings.yml /etc/searx/settings.yml
35
 
36
  # Udostępnij port 8888
37
  EXPOSE 8888