fuck python, switching to apprise-api as a docker container

This commit is contained in:
2025-10-21 02:22:51 +02:00
parent 92a2c6956a
commit 457a49e754
3 changed files with 44 additions and 8 deletions

View File

@@ -1,6 +1,7 @@
FROM debian:12 AS base
WORKDIR /opt/app
RUN apt-get update && \
# apt-get install -y curl unzip cron ca-certificates python3 python3-pip && \
apt-get install -y curl unzip cron ca-certificates python3 python3-pip && \
rm -rf /var/lib/apt/lists/*
# install BunJs
@@ -19,8 +20,8 @@ COPY package.json bun.lock /temp/prod/
RUN cd /temp/prod && bun install --frozen-lockfile --production
# and install python dependencies
COPY ./requirements.txt .
RUN python3 -m pip install --break-system-packages -r requirements.txt
# COPY ./requirements.txt .
# RUN python3 -m pip install --break-system-packages -r requirements.txt
# RUN python3 -m pip install -U python-dotenv
# copy node_modules from temp directory