diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..67eda7b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/compose.override.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4cc9ff6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3.11 + +WORKDIR /app + +COPY ./app . +RUN pip install --no-cache-dir -r requirements.txt + +CMD ["python", "-u", "main.py"] diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..452b642 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +up: + @docker compose up -d + +up-build: + @docker compose up -d --build + +down: + @docker compose down + +restart: down up + +logs: + @docker compose logs zeus-filter -f diff --git a/app/main.py b/app/main.py new file mode 100644 index 0000000..11b15b1 --- /dev/null +++ b/app/main.py @@ -0,0 +1 @@ +print("hello") diff --git a/app/requirements.txt b/app/requirements.txt new file mode 100644 index 0000000..0eb5a09 --- /dev/null +++ b/app/requirements.txt @@ -0,0 +1 @@ +ics==0.7.2 diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..49e3f43 --- /dev/null +++ b/compose.yml @@ -0,0 +1,5 @@ +services: + zeus-filter: + build: . + container_name: zeus-filter + restart: unless-stopped