Add build and run scripts

This commit is contained in:
maybetree
2025-07-31 09:25:17 +02:00
parent e4ac6434b8
commit 899f153dbe
3 changed files with 20 additions and 0 deletions

1
.gitignore vendored
View File

@ -89,5 +89,6 @@ CMakeInit.txt
### Project-specific ###
data

4
build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
podman build --file bardak/Dockerfile -t bardak ./bardak

15
run.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
mkdir -p ./data/things
mkdir -p ./data/trash
podman run \
--rm \
--init \
--read-only \
-v ./data/things:/app/things \
-v ./data/trash:/app/trash \
--publish 8085:8085 \
bardak