first commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-12-15 18:34:24 +08:00
commit 2526e27867
38 changed files with 1771 additions and 0 deletions

20
Dockerfile-hexo Normal file
View File

@@ -0,0 +1,20 @@
ARG IMAGENAME
FROM ${IMAGENAME}
LABEL maintainer="Offends <offends4@163.com>"
# 开启国内加速
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& npm config set registry https://registry.npmmirror.com \
&& apk update
RUN npm install -g hexo-cli \
&& hexo init hexo \
&& npm install --prefix /hexo/
WORKDIR /hexo
EXPOSE 4000
CMD ["hexo", "server"]