云骏时代企业官网
git clone https://github.com/Ungine-Tech/Homepage-Ungine.git
cd Homepage-Ungine
yarn install
yarn dev
You need to install Node.js or docker in advance.
yarn install --frozen-lockfile
yarn build
yarn start
yarn install --frozen-lockfile
yarn export
Then you can find the exported files in the ./out/
directory.
use node:lts-alpine
image.
docker build -t homepage-ungine .
docker run -itd homepage-ungine -p 3000:80
use node:lts-alpine
and nginx:stable-alpine
images.
docker build -t homepage-ungine .
docker run -itd homepage-ungine -p 80:80