diff --git a/Dockerfile b/Dockerfile index 06f59b1..1c38a6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,6 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* # install BunJs RUN curl -fsSL https://bun.com/install | bash -ENV PATH="/root/.bun/bin:$PATH" # install dependencies into temp directory # this will cache them and speed up future builds @@ -16,7 +15,7 @@ COPY package.json bun.lock /temp/dev/ RUN cd /temp/dev && bun install --frozen-lockfile # and install python dependencies COPY ./requirements.txt . -RUN python3 -m pip install -r requirements.txt +RUN python3 -m pip install --break-system-packages -r requirements.txt # RUN python3 -m pip install -U python-dotenv # install with --production (exclude devDependencies) RUN mkdir -p /temp/prod