feat: add Containerfile and compose.yaml for podman
Alpine-based image (59MB), source and config bind-mounted via compose.yaml. Host networking for access to local Tor nodes.
This commit is contained in:
16
Makefile
16
Makefile
@@ -1,4 +1,6 @@
|
||||
.PHONY: install test lint clean
|
||||
APP_NAME := s5p
|
||||
|
||||
.PHONY: install test lint clean build up down logs
|
||||
|
||||
install:
|
||||
pip install -e .
|
||||
@@ -12,3 +14,15 @@ lint:
|
||||
clean:
|
||||
rm -rf build/ dist/ src/*.egg-info
|
||||
find . -type d -name __pycache__ -exec rm -rf {} +
|
||||
|
||||
build:
|
||||
podman-compose build
|
||||
|
||||
up:
|
||||
podman-compose up -d
|
||||
|
||||
down:
|
||||
podman-compose down
|
||||
|
||||
logs:
|
||||
podman-compose logs -f
|
||||
|
||||
Reference in New Issue
Block a user