https://prefect.io logo
a

Alon Peslin

08/27/2023, 1:59 PM
Hi All! Getting some weird errors when trying to build prefect image in our CI system: That's my Dockerfile:
Copy code
FROM prefecthq/prefect:2.11.5-python3.8

WORKDIR /app

COPY ./requirements.txt /app/requirements.txt
RUN pip install --upgrade pip
RUN pip install -r requirements.txt

ENV PYTHONPATH /app/

COPY ./ /app/
When running
docker build .
I'm getting this error when trying to upgrade
pip
(or to install any python package):
Copy code
RuntimeError: can't start new thread
Did anyone encounter something similar and can help? thanks!! P.S it happened after upgrading to prefect image 2.11.5, before we worked with 2.7.7 and it was running smoothly.
👀 1
o

Ofek Katriel

08/28/2023, 11:40 AM
@Sahil Rangwala it’s a production blocker