Files
icecast-ripper/Makefile
Dmitrii Andreev 2d2820f9cd first release
2024-01-07 14:34:07 +03:00

23 lines
568 B
Makefile

run:
@echo "Starting Icecast Recorder Service"
python src/main.py
test:
@echo "Running tests"
python -m unittest discover -s tests/
build:
@echo "Building Docker image for Icecast Recorder Service"
docker build -t icecast-recorder .
docker-run: build
@echo "Running Icecast Recorder Service in a Docker container"
docker run -p 8080:8080 --env-file .env.example icecast-recorder
clean:
@echo "Cleaning up pycache and .pyc files"
find . -type d -name pycache -exec rm -r {} +
find . -type f -name '*.pyc' -delete
.PHONY: run test build docker-run clean