Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM httpd:2.4-alpine
RUN apk update && apk add --no-cache git
WORKDIR /usr/local/apache2/htdocs/
RUN rm -rf *
RUN git clone https://github.com/emn178/online-tools.git
EXPOSE 80
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ Please go to [Online Tools](https://emn178.github.io/online-tools/)
## Contact
The project's website is located at https://github.com/emn178/online-tools
Author: emn178@gmail.com

## Deploy with Docker

```shell
wget https://raw.githubusercontent.com/emn178/online-tools/refs/heads/master/Dockerfile
docker build -t online-tools:latest .
docker run -d --name online-tools -p 8000:80 online-tools:latest
#open http://127.0.0.1:8000/online-tools
```