Add Podman tasks to Taskfile.yml for building and running containers
This commit is contained in:
14
Taskfile.yml
14
Taskfile.yml
@@ -112,6 +112,20 @@ tasks:
|
||||
- docker cp {{.BINARY_NAME}}-temp:/desktop-bin/. {{.BUILD_DIR}}/
|
||||
- docker rm {{.BINARY_NAME}}-temp
|
||||
|
||||
podman-build:
|
||||
desc: Build Podman image
|
||||
cmds:
|
||||
- podman build -f docker/Dockerfile -t surveilled .
|
||||
|
||||
podman-run:
|
||||
desc: Run Podman container
|
||||
cmds:
|
||||
- podman run --rm -p 3000:3000 surveilled
|
||||
|
||||
podman:
|
||||
desc: Build and run Podman container
|
||||
deps: [podman-build, podman-run]
|
||||
|
||||
desktop-build:
|
||||
desc: Build desktop application
|
||||
deps: [build]
|
||||
|
||||
Reference in New Issue
Block a user