12 lines
392 B
Makefile
12 lines
392 B
Makefile
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
|