An ultra lightweight, minimal, and fast web server. (The binary is only ~2mb!!)
These instructions will cover usage information and for the docker container
In order to run this container you'll need docker installed.
Create a container to host the server
docker pull aurax86/serv:latest
docker run --platform linux/amd64 -d -p 8080:80 aurax86/serv:latest
Or host files from a volume
docker run --platform linux/amd64 -d -p 8080:80 -v "$PWD":/dist aurax86/serv:latest
where $PWD
is the directory from the host which you wish to deploy.
For 32-bit arm, use --platform linux/arm/v7
and --platform linux/arm/v8
for 64-bit
SERV_DIR
- Directory to serve within the container, set to/dist
by default.IDX_FILE
- Index file from withinSERV_DIR
, defaults toindex.html
.
/dist
- Mount a volume to this directory in the container
- The Rust Programming Language
- cargo cross cross-compiler
- docker buildx
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- The Rust community discord server
- The Actix community and the Actix project