mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-28 23:03:31 +03:00
7fd5f97b2a
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye. --- updated-dependencies: - dependency-name: python dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
31 lines
754 B
Docker
31 lines
754 B
Docker
FROM python:3.11.4-slim-bullseye
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN mkdir -p /usr/src/robosats
|
|
WORKDIR /usr/src/robosats
|
|
|
|
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
|
|
|
|
COPY requirements.txt ./
|
|
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/cln grpc services
|
|
RUN sh scripts/generate_grpc.sh
|
|
RUN chmod +x scripts/entrypoint.sh
|
|
|
|
EXPOSE 8000
|
|
ENTRYPOINT [ "/usr/src/robosats/scripts/entrypoint.sh" ]
|
|
|
|
CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]
|