7 lines
249 B
Bash
7 lines
249 B
Bash
|
podman stop ttt-org
|
||
|
podman rm ttt-org
|
||
|
sed -i "s/DATE/$(date -I)/g" index.html
|
||
|
sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
|
||
|
|
||
|
podman build -t ttt-org:$(date -I) .
|
||
|
podman run --name ttt-org -p 8084:80 -d ttt-org:$(date -I)
|