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
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM ubuntu:22.04
RUN apt update && apt upgrade -y && apt install python3 -y
WORKDIR /srv
COPY ./* ./
CMD ["python3", "-m", "http.server", "5000"]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Installation
----
Just open `index.html` and that's it! There is no server code. Is that so simple? Yes!

Alternative Installation, using Docker, for server deployment
----
- Clone the repository at your desired location
- Run `docker compose build` for building the container
- Run `docker compose up -d` for running the container
- Go to `http://127.0.0.1:9500` to use it!

Usage
----

Expand Down
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3"
services:
web:
build: .
ports:
- "9500:5000"
restart: unless-stopped