Fixing latest restructuring and container oopsies
This commit is contained in:
parent
9e427dc56f
commit
3bf3b486bf
4 changed files with 8 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -0,0 +1 @@
|
|||
data/
|
12
Makefile
12
Makefile
|
@ -1,12 +1,14 @@
|
|||
current_dir := $(dir $(abspath $(firstword $(MAKEFILE_LIST))))
|
||||
|
||||
data/:
|
||||
mkdir data
|
||||
chmod 777 data
|
||||
podman-run:
|
||||
data/: FORCE
|
||||
podman-run: data/
|
||||
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-run: data/
|
||||
docker build -t snuffler/snuffler-web:dev .
|
||||
docker run -v $(current_dir)data/:/var/www/html/data/ -p 8080:80 snuffler/snuffler-web:dev
|
||||
|
||||
FORCE:
|
||||
cp -r src/data ./
|
||||
chmod 777 data
|
||||
|
|
0
data/.gitignore → src/data/.gitignore
vendored
0
data/.gitignore → src/data/.gitignore
vendored
Loading…
Reference in a new issue