fuck python, switching to apprise-api as a docker container
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user