Files
simple-reminder-bot/Dockerfile
T
Beesquit 7cba62f45d
Build and Push Docker Image / build-and-push (release) Failing after 5m59s
Initial Commit
2026-10-15 16:39:55 +03:00

20 lines
366 B
Docker

FROM python:3.14-slim-bookworm
ENV PYTHONUNBUFFERED=1 \
CONFIG_PATH=/app/config/config.json
WORKDIR /app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY reminder.py ./
# Run as a non-root user
RUN useradd --create-home --uid 1000 app \
&& chown -R app:app /app
USER app
STOPSIGNAL SIGTERM
CMD ["python", "reminder.py"]