diff --git a/Dockerfile b/Dockerfile index 49ba83ba..bb9d7907 100644 --- a/Dockerfile +++ b/Dockerfile @@ -70,7 +70,11 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2 # Install dependencies from poetry COPY --from=builder /src/requirements.txt . +RUN mkdir tmp +RUN export TMPDIR=/root/tmp RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt +RUN unset TMPDIR +RUN rm -rf tmp # Install silnlp COPY --from=builder /src/dist/*.whl .