A static web server
203
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" ]
Content type
Image
Digest
sha256:65095b269…
Size
5.7 MB
Last updated
almost 2 years ago
docker pull loshido/rust-webserver