deploy1 7 tahun lalu
induk
melakukan
329c6b8568
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      Dockerfile

+ 3 - 2
Dockerfile

@@ -6,12 +6,13 @@ WORKDIR /app/code
 
 RUN apt update && apt install -y python build-essential libxslt-dev python-dev python-virtualenv python-pybabel zlib1g-dev libffi-dev libssl-dev python-pip
 RUN pip install --no-cache -r https://raw.githubusercontent.com/asciimoo/searx/master/requirements.txt
-RUN curl -L https://github.com/asciimoo/searx/archive/v0.14.0.tar.gz | tar -xz --strip-components 1 -f -
+RUN curl -L https://github.com/asciimoo/searx/archive/master.tar.gz | tar -xz --strip-components 1 -f -
 RUN mv /app/code/searx/settings.yml /app/code/searx/settings.yml.orig
 RUN ln -sf /app/data/settings.yml /app/code/searx/settings.yml
-
 RUN chown -R www-data.www-data /app/code
 
+RUN /app/code/manage.sh update_packages
+
 EXPOSE 8888
 
 ADD start_searx.sh /app/