22 lines
426 B
Makefile
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
|