From fc458676a5c9b14d36f8461b7e0ed073402b489f Mon Sep 17 00:00:00 2001 From: gpopesc Date: Tue, 20 Jul 2021 12:56:31 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index a49f03f..27e1a58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,8 @@ RUN pip install --prefix /install --no-warn-script-location --no-cache-dir -r re FROM python:3.8-slim RUN apt-get update && apt-get install -y \ -# libcurl4-openssl-dev \ -# tor \ + libcurl4-openssl-dev \ + tor \ curl \ && rm -rf /var/lib/apt/lists/* @@ -61,8 +61,8 @@ ENV WHOOGLE_ALT_TL=$translate_alt WORKDIR /whoogle COPY --from=builder /install /usr/local -#COPY misc/tor/torrc /etc/tor/torrc -#COPY misc/tor/start-tor.sh misc/tor/start-tor.sh +COPY misc/tor/torrc /etc/tor/torrc +COPY misc/tor/start-tor.sh misc/tor/start-tor.sh COPY app/ app/ COPY run . COPY whoogle.env . @@ -75,4 +75,5 @@ EXPOSE $EXPOSE_PORT HEALTHCHECK --interval=30s --timeout=5s \ CMD curl -f http://localhost:${EXPOSE_PORT}/healthz || exit 1 -# CMD misc/tor/start-tor.sh & ./run + #CMD misc/tor/start-tor.sh & ./run +CMD ./run