better Dockerfile

This commit is contained in:
Claudio Maradonna 2023-12-26 08:29:18 +01:00
parent d6671f129a
commit 775d070f3b
Signed by untrusted user who does not match committer: claudiomaradonna
GPG key ID: 0CBA58694C5680D9
2 changed files with 10 additions and 0 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

@ -17,3 +17,10 @@ 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
1. `docker build -t unitoo/website .`
2. `docker push unitoo/website`