fixing docker file

This commit is contained in:
2025-10-21 01:21:39 +02:00
parent 714738dcba
commit 156a2db485

View File

@@ -6,7 +6,6 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
# install BunJs # install BunJs
RUN curl -fsSL https://bun.com/install | bash RUN curl -fsSL https://bun.com/install | bash
ENV PATH="/root/.bun/bin:$PATH"
# install dependencies into temp directory # install dependencies into temp directory
# this will cache them and speed up future builds # 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 RUN cd /temp/dev && bun install --frozen-lockfile
# and install python dependencies # and install python dependencies
COPY ./requirements.txt . 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 # RUN python3 -m pip install -U python-dotenv
# install with --production (exclude devDependencies) # install with --production (exclude devDependencies)
RUN mkdir -p /temp/prod RUN mkdir -p /temp/prod