Files
fax-frontend/Makefile
T
esilva dfa7bfeec9 Added a Dockerfile and docker-compose to this project
The compose requieres the printer image too
2024-05-29 14:45:43 +01:00

22 lines
426 B
Makefile

build:
docker buildx build -t esilva-fax .
clean:
docker container rm esilva-fax-container-test --force
attach:
docker exec -u root -it esilva-fax-container zsh
attach-test:
docker exec -u root -it esilva-fax-container-test zsh
test: clean
docker run \
--name esilva-fax-container-test \
-v ./data.db:/data.db \
-v ./src/config.yml:/etc/fax/config.yml \
-p 8083:8083 \
-it esilva-fax zsh
debug: clean test