feat: example post

This commit is contained in:
2024-11-28 17:54:37 +01:00
parent 1b2faa27dc
commit ec3b3e2db9
7 changed files with 200 additions and 8 deletions

View File

@ -5,4 +5,8 @@ RUN hugo new site /hugo
RUN git clone https://github.com/yihui/hugo-xmin.git themes/hugo-xmin
ADD hugo.toml /hugo/hugo.toml
ADD content /hugo/content
CMD ["hugo", "serve", "--bind", "0.0.0.0"]
ADD static /hugo/static
ADD shortcodes /hugo/layouts/shortcodes
ENV PORT=1313
EXPOSE $PORT
CMD ["hugo", "serve", "--bind", "0.0.0.0", "--port", "$PORT"]