Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tzarc/nanosrv

Simple wrapper around boost.beast's async server. Static binary. Static site.

Usage

FROM busybox:latest as builder

COPY ./ /www

RUN find /www -type d -exec chmod 0700 '{}' + \
    && find /www -type f -exec chmod 0600 '{}' +

FROM tzarc/nanosrv:latest

ENV PUID=5374 \
    PGID=5374 \
    BIND_ADDRESS=0.0.0.0 \
    BIND_PORT=11253 \
    DOC_ROOT=/www \
    NUM_THREADS=8

COPY --chown=$PUID:$PGID --from=builder /www /www

About

Cut-down docker container statically serving files using boost.beast.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages