added build & push

This commit is contained in:
andreas
2023-04-09 20:48:49 +00:00
parent 820d8f71d7
commit e7ef8f4496
23 changed files with 100 additions and 427 deletions

16
webapp/scratchpad.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/bash
# export DOCKER_BUILDKIT=1
docker run -d --rm --name dist -p80:80 -v/root/kopano-docker/dist:/usr/local/apache2/htdocs httpd
docker build --no-cache --progress=plain -t webapp .
docker build -t webapp .
docker run -it --name webapp -p8080:80 webapp
docker logs -f webapp
docker exec -it webapp bash
docker kill webapp
docker rm webapp
docker container ls
docker container prune
docker image ls
docker image prune -a -f