diff --git a/Dockerfile b/Dockerfile index 8f6ab1d..9a2af0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,5 +18,7 @@ RUN apt-get update && \ && apt-get remove -y build-essential curl \ && apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* +COPY ./requirements.txt ./tmp.txt +RUN pip install --no-cache-dir -r tmp.txt && rm tmp.txt EXPOSE 8188 CMD ["python", "main.py", "--listen", "0.0.0.0", "--port", "8188"]