added apache2 and ssl config

This commit is contained in:
andreas
2022-07-21 19:55:14 +00:00
parent 40a6cfab88
commit 0aab815e49
472 changed files with 6987 additions and 11 deletions

16
webapp/build.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/bash
# docker login --username baloan --password 'yZBCUs5&@?:.'
docker run -d --name apache -p80:80 -v/root/kopano/dist:/var/www httpd
# export DOCKER_BUILDKIT=1
docker build -t webapp .
docker run --rm -it --name webapp -v/root/kopano/webapp/etc/apache2:/etc/apache2 -v/root/kopano/webapp/etc/ssl:/etc/ssl 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