diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7ccbff6c..4f2d2186 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,20 +3,25 @@ updates: - package-ecosystem: "npm" directory: "/mobile" schedule: - interval: "daily" + interval: "weekly" + day: "friday" - package-ecosystem: "npm" directory: "/frontend" schedule: - interval: "daily" + interval: "weekly" + day: "saturday" - package-ecosystem: "gradle" directory: "/mobile/android" schedule: - interval: "daily" + interval: "weekly" + day: "monday" - package-ecosystem: "pip" directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "sunday" - package-ecosystem: "bundler" directory: "/docs" schedule: - interval: "daily" \ No newline at end of file + interval: "monthly" + day: "tuesday" \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2ae8e8b4..ba257f20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.2-bullseye +FROM python:3.11.3-slim-bullseye ARG DEBIAN_FRONTEND=noninteractive RUN mkdir -p /usr/src/robosats @@ -6,8 +6,13 @@ RUN mkdir -p /usr/src/robosats # specifying the working dir inside the container WORKDIR /usr/src/robosats -RUN apt-get update -RUN apt-get install -y postgresql-client +RUN apt-get update -qq && \ + apt-get install -qq -y --no-install-recommends \ + git \ + libpq-dev \ + curl \ + build-essential \ + gnupg2 RUN python -m pip install --upgrade pip @@ -17,7 +22,7 @@ RUN pip install --no-cache-dir -r requirements.txt # copy current dir's content to container's WORKDIR root i.e. all the contents of the robosats app COPY . . -# install lnd grpc services +# install lnd/cln grpc services RUN sh generate_grpc.sh EXPOSE 8000 diff --git a/docker-compose.yml b/docker-compose.yml index 004df94c..ab8fc909 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,7 +35,7 @@ services: - .:/usr/src/robosats - ./node/lnd:/lnd network_mode: service:tor - command: python3 -u manage.py runserver 0.0.0.0:8000 + command: python3 -Wa -u manage.py runserver 0.0.0.0:8000 frontend: build: ./frontend diff --git a/requirements.txt b/requirements.txt index 6de47dc6..5fa6e9e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ celery==5.2.7 grpcio==1.54.0 googleapis-common-protos==1.59.0 grpcio-tools==1.54.0 -numpy==1.22.2 +numpy==1.24.3 Pillow==9.5.0 python-decouple==3.5 requests==2.22.0