update README #50
3 changed files with 11 additions and 2 deletions
3
Dockerfile
Normal file
3
Dockerfile
Normal file
|
@ -0,0 +1,3 @@
|
|||
FROM ghcr.io/static-web-server/static-web-server:2-alpine
|
||||
WORKDIR /
|
||||
COPY _site /public
|
5
Makefile
5
Makefile
|
@ -1,3 +1,4 @@
|
|||
prod_build:
|
||||
python3 tag-generator.py
|
||||
JEKYLL_BUILD=production bundle exec jekyll build
|
||||
python3 tag-generator.py
|
||||
JEKYLL_BUILD=production bundle exec jekyll build
|
||||
docker buildx build --platform linux/arm64,linux/amd64 -t unitoo/website --push .
|
||||
|
|
|
@ -17,3 +17,8 @@ New Unitoo website based on Jekyll
|
|||
|
||||
3. Build Jekyll
|
||||
`JEKYLL_BUILD=production bundle exec jekyll build`
|
||||
|
||||
|
||||
## Build image
|
||||
|
||||
`docker buildx build --platform linux/arm64,linux/amd64 -t unitoo/website --push .`
|
||||
|
|
Loading…
Reference in a new issue