Files
status-python-sdk/Dockerfile
T
Nick Ninov bcb34da804 bot: Status App Monitoring
Related to:
- https://github.com/status-im/status-bot/issues/14
- https://github.com/status-im/status-bot/issues/4
- https://github.com/status-im/data-docs/issues/153

Notes:
- SImplified `Account` class is used instead of initial `StatusBackend`
- Add `Account` requirements.txt
- Fixed backup load bug. Initially wrong event was monitored and it would wait forever.
- Latest Status Backend Dockerfile is pulled from GitHub instead of Harbor
- Postgres schema is created if it doesn't exist
2026-03-19 22:47:35 +02:00

13 lines
325 B
Docker

FROM python:3.12-slim
WORKDIR /app
COPY . .
# In case if the scripts are ran locally instead of with Docker
RUN rm -rf uploads
RUN pip install --no-cache-dir -r requirements.txt \
&& if [ -f bot/requirements.txt ]; then pip install --no-cache-dir -r bot/requirements.txt; fi
ENTRYPOINT ["python", "monitor.py"]
CMD []