added Dockerfile and docker-compose
This commit is contained in:
@@ -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" ]
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
studywatch:
|
||||
build: .
|
||||
container_name: studywatch
|
||||
ports:
|
||||
- "5000:5000"
|
||||
restart: unless-stopped
|
||||
@@ -1,3 +1,4 @@
|
||||
Flask
|
||||
python-dotenv
|
||||
caldav
|
||||
vobject
|
||||
|
||||
Reference in New Issue
Block a user