Compare commits
2 Commits
e11c0d50c0
...
8183cae0d9
| Author | SHA1 | Date | |
|---|---|---|---|
| 8183cae0d9 | |||
| 65cf4186f0 |
@@ -55,6 +55,13 @@
|
||||
"message": "docs: 完成 anime.js v4.3.6 源码深度解析文档与单页解析站",
|
||||
"hash": "0bb5c6b",
|
||||
"files_changed": 2
|
||||
},
|
||||
{
|
||||
"ts": "2026-04-23T23:29:52+08:00",
|
||||
"type": "commit",
|
||||
"message": "chore: gitignore source/(避免 submodule),准备部署",
|
||||
"hash": "e11c0d5",
|
||||
"files_changed": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY index.html /usr/share/nginx/html/index.html
|
||||
|
||||
RUN printf 'server {\n\
|
||||
listen 80;\n\
|
||||
server_name _;\n\
|
||||
root /usr/share/nginx/html;\n\
|
||||
index index.html;\n\
|
||||
gzip on;\n\
|
||||
gzip_types text/plain text/css application/javascript text/html application/json;\n\
|
||||
location / {\n\
|
||||
try_files $uri $uri/ /index.html;\n\
|
||||
add_header Cache-Control "public, max-age=3600";\n\
|
||||
}\n\
|
||||
}\n' > /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
Reference in New Issue
Block a user