Skip to content

Commit

Permalink
Merge pull request #80 from Q-Bug4/master
Browse files Browse the repository at this point in the history
添加Dockerfile, 方便容器化部署
  • Loading branch information
TransparentLC authored Mar 23, 2024
2 parents df478aa + 0021d7d commit 12ab9f3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM httpd:alpine3.19
COPY ./ /usr/local/apache2/htdocs/
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

### 这个小工具是什么?

一个因为不喜欢也不想往朋友圈发某些不得不发的废文而做出来的摸鱼产物。
Expand Down

0 comments on commit 12ab9f3

Please sign in to comment.