Add blog and use more advanced dockerfile

This commit is contained in:
2022-09-23 00:00:58 -07:00
parent 7847ad4ecd
commit b77124f1a7
5 changed files with 158 additions and 6 deletions

View File

@@ -1,2 +1,5 @@
FROM nginx
COPY public /usr/share/nginx/html
FROM alpine
RUN apk add hugo git go
RUN git clone https://gitea.arsenm.dev/Arsen6331/site.git
WORKDIR "/site"
CMD hugo server -p 80 --bind 0.0.0.0