vue-admin-beautiful/deploy-docker.sh
2021-05-10 20:16:14 +08:00

7 lines
177 B
Bash

#!/bin/bash
npm run build
docker build -t vue-admin-beautiful .
docker run --name vue-admin-beautiful --restart=always -p 80:80 -v /var/nginx:/var/data -d vue-admin-beautiful