Sign inSign up

loshido/rust-webserver

By loshido

•Updated almost 2 years ago

A static web server

Image
Networking
Internet of things
Web servers
0

203

loshido/rust-webserver repository overview

In brief, this image exposes at /app/listen, a web server that serves the working directory.

Behind the scene it is Rocket.rs⁠. So you can use its environment variables.

For example,

ENV ROCKET_ADDRESS="0.0.0.0"
ENV ROCKET_PORT="80"

EXPOSE 80

CMD [ "/app/listen" ]

Tag summary

Content type

Image

Digest

sha256:65095b269…

Size

5.7 MB

Last updated

almost 2 years ago

docker pull loshido/rust-webserver