mirror of
https://github.com/status-im/status-python-sdk.git
synced 2026-08-31 06:01:19 +00:00
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
13 lines
325 B
Docker
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 []
|