Initial commit
This commit is contained in:
commit
70c71105a1
7 changed files with 1817 additions and 0 deletions
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy application
|
||||
COPY src/ ./src/
|
||||
COPY templates/ ./templates/
|
||||
COPY static/ ./static/
|
||||
|
||||
# Environment variables (will be overridden at runtime)
|
||||
ENV VIKUNJA_URL=http://10.10.10.10:3456/api/v1
|
||||
ENV VIKUNJA_TOKEN=""
|
||||
ENV HA_URL=https://homeassistant.daddelolymp.de
|
||||
ENV HA_TOKEN=""
|
||||
ENV WEATHER_LOCATION=Leverkusen
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue