* Add Dockerfile and Makefile for docs * New Docusaurus project * Remove blog from docs * Add missing package-lock.json * .PHONY
20 lines
348 B
Makefile
20 lines
348 B
Makefile
.PHONY: buildimage build dev shell
|
|
|
|
buildimage:
|
|
docker build -t "alcion/docs:latest" .
|
|
|
|
dev:
|
|
docker run --rm -it \
|
|
-p 3000:3000 \
|
|
-v ${PWD}:/usr/src/docs alcion/docs
|
|
|
|
shell:
|
|
docker run --rm -it \
|
|
-p 3000:3000 \
|
|
-v ${PWD}:/usr/src/docs alcion/docs /bin/bash
|
|
|
|
build:
|
|
docker run --rm \
|
|
-v ${PWD}:/usr/src/docs alcion/docs npm run build
|
|
|