mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-19 17:23:19 +00:00
Bump to python 3.11, optimize Coordinator image size, update dependabot config
This commit is contained in:
15
.github/dependabot.yml
vendored
15
.github/dependabot.yml
vendored
@ -3,20 +3,25 @@ updates:
|
|||||||
- package-ecosystem: "npm"
|
- package-ecosystem: "npm"
|
||||||
directory: "/mobile"
|
directory: "/mobile"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "weekly"
|
||||||
|
day: "friday"
|
||||||
- package-ecosystem: "npm"
|
- package-ecosystem: "npm"
|
||||||
directory: "/frontend"
|
directory: "/frontend"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "weekly"
|
||||||
|
day: "saturday"
|
||||||
- package-ecosystem: "gradle"
|
- package-ecosystem: "gradle"
|
||||||
directory: "/mobile/android"
|
directory: "/mobile/android"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "weekly"
|
||||||
|
day: "monday"
|
||||||
- package-ecosystem: "pip"
|
- package-ecosystem: "pip"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "weekly"
|
||||||
|
day: "sunday"
|
||||||
- package-ecosystem: "bundler"
|
- package-ecosystem: "bundler"
|
||||||
directory: "/docs"
|
directory: "/docs"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "monthly"
|
||||||
|
day: "tuesday"
|
13
Dockerfile
13
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.10.2-bullseye
|
FROM python:3.11.3-slim-bullseye
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/robosats
|
RUN mkdir -p /usr/src/robosats
|
||||||
@ -6,8 +6,13 @@ RUN mkdir -p /usr/src/robosats
|
|||||||
# specifying the working dir inside the container
|
# specifying the working dir inside the container
|
||||||
WORKDIR /usr/src/robosats
|
WORKDIR /usr/src/robosats
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update -qq && \
|
||||||
RUN apt-get install -y postgresql-client
|
apt-get install -qq -y --no-install-recommends \
|
||||||
|
git \
|
||||||
|
libpq-dev \
|
||||||
|
curl \
|
||||||
|
build-essential \
|
||||||
|
gnupg2
|
||||||
|
|
||||||
RUN python -m pip install --upgrade pip
|
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 current dir's content to container's WORKDIR root i.e. all the contents of the robosats app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# install lnd grpc services
|
# install lnd/cln grpc services
|
||||||
RUN sh generate_grpc.sh
|
RUN sh generate_grpc.sh
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
@ -35,7 +35,7 @@ services:
|
|||||||
- .:/usr/src/robosats
|
- .:/usr/src/robosats
|
||||||
- ./node/lnd:/lnd
|
- ./node/lnd:/lnd
|
||||||
network_mode: service:tor
|
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:
|
frontend:
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
|
@ -13,7 +13,7 @@ celery==5.2.7
|
|||||||
grpcio==1.54.0
|
grpcio==1.54.0
|
||||||
googleapis-common-protos==1.59.0
|
googleapis-common-protos==1.59.0
|
||||||
grpcio-tools==1.54.0
|
grpcio-tools==1.54.0
|
||||||
numpy==1.22.2
|
numpy==1.24.3
|
||||||
Pillow==9.5.0
|
Pillow==9.5.0
|
||||||
python-decouple==3.5
|
python-decouple==3.5
|
||||||
requests==2.22.0
|
requests==2.22.0
|
||||||
|
Reference in New Issue
Block a user