将blog打包镜像

This commit is contained in:
estom
2025-07-12 06:00:49 -04:00
parent b1e929108f
commit ee4ad3488c
11 changed files with 246 additions and 2 deletions

6
Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM node:20-alpine
RUN npm install -g docsify-cli@latest
WORKDIR /docs
COPY . .
EXPOSE 3000
CMD ["docsify", "serve", ".", "--port", "3000"]