Compare commits
3 commits
664e652f85
...
bfe7858380
Author | SHA1 | Date | |
---|---|---|---|
bfe7858380 | |||
|
89906aa9da | ||
|
775d070f3b |
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:
|
prod_build:
|
||||||
python3 tag-generator.py
|
python3 tag-generator.py
|
||||||
JEKYLL_BUILD=production bundle exec jekyll build
|
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
|
3. Build Jekyll
|
||||||
`JEKYLL_BUILD=production bundle exec jekyll build`
|
`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