diff --git a/.gitignore b/.gitignore index bec66c5..8042ca4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,6 @@ __pycache__ .coverage htmlcov scripts/sync_to_blitz.personal.sh -docker/.env .venv pyrightconfig.json diff --git a/Dockerfile.regtest b/Dockerfile.regtest deleted file mode 100644 index b66a41d..0000000 --- a/Dockerfile.regtest +++ /dev/null @@ -1,16 +0,0 @@ -# Builds a Docker image for use LNbits regtest scripts. -# Currenly works only for the forked version: -# fork: https://github.com/fusion44/legend-regtest-enviroment -# original: https://github.com/lnbits/legend-regtest-enviroment - -FROM python:3.9 - -WORKDIR /code - -COPY ./requirements.txt /code/requirements.txt - -RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt - -COPY ./app /code/app - -CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] diff --git a/Makefile b/Makefile index 5e8d9fe..ff29873 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,6 @@ help: @echo "To generate the requirements.txt file for pip type 'make update-requirements-file'" @echo "To sync current changes to a blitz for testing, type 'make sync-to-blitz'.\n   ℹ️  Adjust connection values in scripts/push_to_blitz.sh" @echo "To generate the client libraries type 'make generate-client-libs'" - @echo "To build the Docker regtest image type 'make docker-regtest-image'.\n   ℹ️  The image will be available to docker as 'blitz_api'" @echo "To list all celery tasks type 'make celery-list-tasks'" @echo "To manually trigger a celery task type 'make celery-run-task [TASK_NAME TASK_ARGS TASK_KWARGS]'" @echo "------------------------------------" @@ -54,9 +53,6 @@ sync-to-blitz: generate-client-libs: uv run python gen_client_libs.py -docker-regtest-image: - docker build -f Dockerfile.regtest -t blitz_api . - remote-debugging-help: bash scripts/remote_debugging.sh help diff --git a/docker/regtest/entrypoint.sh b/docker/regtest/entrypoint.sh deleted file mode 100644 index b161e2d..0000000 --- a/docker/regtest/entrypoint.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -echo "Entrypoint: Starting Blitz Api..." -python3 -m uvicorn app.main:app --host 0.0.0.0 --port 80