added Dockerfile and docker-compose

This commit is contained in:
2026-08-10 19:01:19 +02:00
parent 8caf9666ed
commit d81e349f47
3 changed files with 20 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM python:3-slim
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./app.py" ]
+7
View File
@@ -0,0 +1,7 @@
services:
studywatch:
build: .
container_name: studywatch
ports:
- "5000:5000"
restart: unless-stopped
+1
View File
@@ -1,3 +1,4 @@
Flask
python-dotenv
caldav
vobject