docker
This commit is contained in:
parent
a85c1431c8
commit
44793eb8d4
3 changed files with 59 additions and 0 deletions
16
justfile
Executable file
16
justfile
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env just --justfile
|
||||
|
||||
database_path := "/tmp/ezidam/docker"
|
||||
|
||||
# list recipes
|
||||
default:
|
||||
just --list
|
||||
|
||||
docker_build:
|
||||
docker build --progress=plain --platform linux/amd64 -t ezidam .
|
||||
|
||||
docker_run:
|
||||
mkdir -p {{database_path}}
|
||||
docker run --rm -p 8000:8000 -v {{database_path}}:/database --platform linux/amd64 ezidam
|
||||
|
||||
docker_all: docker_build docker_run
|
||||
Loading…
Add table
Add a link
Reference in a new issue