diff --git a/Dockerfile b/Dockerfile index 617be8a..f26d3a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,10 @@ -FROM python:3.13.11-alpine3.23 AS builder +FROM python:3 -RUN apk add --no-cache gcc g++ musl-dev rust cargo patchelf +WORKDIR /usr/src/app 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" ] +CMD [ "python", "-u", "./main.py" ] \ No newline at end of file diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..c1452fb --- /dev/null +++ b/compose.yml @@ -0,0 +1,5 @@ +services: + server: + build: . + env_file: .env + diff --git a/main.py b/main.py index d897a03..2260b6e 100644 --- a/main.py +++ b/main.py @@ -51,7 +51,6 @@ 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"""