work yay
All checks were successful
Docker Image / build (push) Successful in 2m29s

This commit is contained in:
LockeShor
2026-06-08 22:34:54 -04:00
commit a519e46482
10 changed files with 343 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.11-slim
WORKDIR /app
# install dependencies
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# copy app
COPY . /app
# copy run loop helper and make it executable
COPY run-loop.sh /app/run-loop.sh
RUN chmod +x /app/run-loop.sh
# do not copy any local .env into image; container uses env at runtime
ENV PYTHONUNBUFFERED=1
# run the loop which executes sync.py once per hour
CMD ["/app/run-loop.sh"]