snuffler-web/Makefile

13 lines
392 B
Makefile
Raw Normal View History

2024-12-11 11:51:09 +02:00
current_dir := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
data/:
mkdir data
chmod 777 data
podman-run:
podman build -t snuffler/snuffler-web .
podman run -v ./data/:/var/www/html/data/ -p 8080:80 localhost/snuffler/snuffler-web:dev
docker-run:
docker build -t snuffler/snuffler-web:dev .
docker run -v $(current_dir)data/:/var/www/html/data/ -p 8080:80 snuffler/snuffler-web:dev