diff --git a/Dockerfile b/Dockerfile index f26d3a9..617be8a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,19 @@ -FROM python:3 +FROM python:3.13.11-alpine3.23 AS builder -WORKDIR /usr/src/app +RUN apk add --no-cache gcc g++ musl-dev rust cargo patchelf COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt + + +FROM python:3.13.11-alpine3.23 + +COPY --from=builder /usr/local/lib/python3.13/site-packages /usr/local/lib/python3.13/site-packages +RUN apk add --no-cache libstdc++ + +WORKDIR /usr/src/app + COPY . . -CMD [ "python", "-u", "./main.py" ] \ No newline at end of file +CMD [ "python", "-u", "./main.py" ] diff --git a/compose.yml b/compose.yml deleted file mode 100644 index c1452fb..0000000 --- a/compose.yml +++ /dev/null @@ -1,5 +0,0 @@ -services: - server: - build: . - env_file: .env - diff --git a/main.py b/main.py index 2260b6e..d897a03 100644 --- a/main.py +++ b/main.py @@ -51,6 +51,7 @@ class BringPlugin: self.webhook_url = os.getenv("WEBHOOK_URL") self.bring = None self.existing_list = None + print(f"email: {self.email}") async def grab_items(self, bring_list): """Grabs the items of the list using the list's uuid"""