mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Bump to python 3.11, optimize Coordinator image size, update dependabot config
This commit is contained in:
parent
4d35798a6f
commit
222b4f9fff
15
.github/dependabot.yml
vendored
15
.github/dependabot.yml
vendored
@ -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"
|
||||
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
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user