mirror of
https://github.com/Estom/notes.git
synced 2026-02-02 18:20:20 +08:00
将blog打包镜像
This commit is contained in:
6
Dockerfile
Normal file
6
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user