From 7296cdc85aa9ae2a8c20f3d457c1d50ab70231b4 Mon Sep 17 00:00:00 2001 From: Sliper247 <152027197+Sliper247@users.noreply.github.com> Date: Tue, 12 Dec 2023 20:54:38 +0300 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d68f7ca..06a3f4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ RUN apk --update add --virtual build-dependencies python3-dev build-base wget gi WORKDIR EmailHarvester #COPY requirements.txt . -RUN pip3 install -r requirements.txt +RUN python3 -m venv /path/to/venv +RUN . /path/to/venv/bin/activate +RUN pip install -r requirements.txt ENTRYPOINT ["python3", "EmailHarvester.py"] -CMD ["-h"] \ No newline at end of file +CMD ["-h"]