Browse Source

added prune docker images to .sh

master
Spencer Flagg 3 years ago
parent
commit
b797e4b943
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      fl-run.sh

+ 1
- 0
fl-run.sh View File

@ -4,5 +4,6 @@ cd /usr/src
git clone --depth 1 https://gitea.flylocal.us/spencer/flylocal-web.git git clone --depth 1 https://gitea.flylocal.us/spencer/flylocal-web.git
cd flylocal-web cd flylocal-web
sudo docker kill $(docker ps -q) sudo docker kill $(docker ps -q)
sudo docker system prune -a
sudo docker build -t flylocal-web . sudo docker build -t flylocal-web .
sudo docker run -it -p 3000:3000 flylocal-web sudo docker run -it -p 3000:3000 flylocal-web

Loading…
Cancel
Save