Merge pull request 'update README' (#50) from claudiomaradonna/website:master into master

Reviewed-on: #50
This commit is contained in:
Claudio Maradonna 2023-12-26 08:49:56 +01:00
commit bfe7858380
3 changed files with 11 additions and 2 deletions

3
Dockerfile Normal file
View file

@ -0,0 +1,3 @@
FROM ghcr.io/static-web-server/static-web-server:2-alpine
WORKDIR /
COPY _site /public

View file

@ -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 .

View file

@ -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 .`