more available args and dockerfile
This commit is contained in:
1 parent
ad609e913e
commit
2b4bcf2345
2 files changed
+27
-10
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
FROM python:3.11
|
||||
|
||||
WORKDIR /app
|
||||
COPY app.py .
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r -r requirements.txt
|
||||
|
||||
# Environment variables
|
||||
ENV CALDAV_URL=""
|
||||
ENV PASSWORD=""
|
||||
ENV RA_API=""
|
||||
ENV RA_USER=""
|
||||
ENV CALENDAR_NAME=""
|
||||
|
||||
CMD ["python3", "./app.py", "$CALDAV_URL", "$CALENDAR_NAME", "$USERNAME", "$PASSWORD", "$RA_API", "$RA_USER"]
|
||||
Reference in new issue
Block a user