added core
This commit is contained in:
@@ -15,9 +15,10 @@ apt-get install -f -y --no-install-recommends
|
||||
wget --no-verbose -P/tmp http://bldr/webapp-6.0.0.57.1049268-Ubuntu_20.04-all.tar.gz
|
||||
tar xzf /tmp/webapp-6.0.0.57.1049268-Ubuntu_20.04-all.tar.gz
|
||||
for F in webapp-6.0.0.57.1049268-Ubuntu_20.04-all/*.deb; do dpkg --unpack --no-triggers $F; done
|
||||
apt-get install -f -y --no-install-recommends
|
||||
apt-get install -f -y --no-install-recommends
|
||||
apt-get install -y --no-install-recommends libapache2-mod-php7.4
|
||||
a2ensite kopano-webapp
|
||||
# cleanup
|
||||
apt-get autoclean
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm
|
||||
rm -rf webapp-6.0.0.57.1049268-Ubuntu_20.04-all
|
||||
|
||||
@@ -3,9 +3,7 @@
|
||||
docker run -d --rm --name www -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 --rm -it --name webapp \
|
||||
-p8080:80 \
|
||||
webapp
|
||||
docker run -it --name webapp -p8080:80 webapp
|
||||
docker logs -f webapp
|
||||
docker exec -it webapp bash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user