Merge pull request #80 from Q-Bug4/master

添加Dockerfile, 方便容器化部署
This commit is contained in:
✨小透明・宸✨
2024-03-23 21:09:09 +08:00
committed by GitHub
2 changed files with 15 additions and 0 deletions

2
Dockerfile Normal file
View File

@@ -0,0 +1,2 @@
FROM httpd:alpine3.19
COPY ./ /usr/local/apache2/htdocs/

View File

@@ -83,6 +83,19 @@
---
### 使用说明
在浏览器直接访问`index.html`即可
#### Docker
```bash
docker build -t wechat-moment-screenshot:1.0 .
```
```bash
# 修改18888为你想要使用的端口
docker run -dp 18888:80 wechat-moment-screenshot:1.0
```
### 这个小工具是什么?
一个因为不喜欢也不想往朋友圈发某些不得不发的废文而做出来的摸鱼产物。