1
0
Fork 0
 
Go to file
Ambrose Chua b90bfaf30f Fix temp folder 2021-05-19 22:49:09 +08:00
Dockerfile Fix temp folder 2021-05-19 22:49:09 +08:00
README.md Add link to lwan site 2021-05-19 22:12:11 +08:00
lwan.conf Switch to clang, fix master builds, add lua 2021-05-19 22:01:56 +08:00

README.md

lwan

A tiny Lwan Web Server image compressed with UPX.

Notice: I keep this manually updated. If it goes out of date, ping me via Twitter @serverwentdown.

Usage

Serve files in $PWD:

docker run -it --rm -p 8080:8080 -v $PWD:/srv productionwentdown/lwan

Overwrite lwan.conf:

docker run -it --rm -p 8080:8080 -v $PWD:/srv -v $PWD/lwan.conf:/etc/lwan.conf productionwentdown/lwan

Run as specific user:

docker run -it --rm -p 8080:8080 -v $PWD:/srv --user 900 productionwentdown/lwan