Compare commits
3 commits
item-speci
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 07518a1f8f | |||
| f4159bc30d | |||
| b57546140b |
3 changed files with 13 additions and 8 deletions
13
Dockerfile
13
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" ]
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
services:
|
||||
server:
|
||||
build: .
|
||||
env_file: .env
|
||||
|
||||
1
main.py
1
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"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue