forked from argilla/docker
mini webserver, always useful
for example, use it to serve /pubblici archive
This commit is contained in:
parent
f0577d015f
commit
6b0b33672f
|
@ -0,0 +1,10 @@
|
|||
version: "3.3"
|
||||
services:
|
||||
pubblici:
|
||||
image: hub.docker.golem.linux.it/thttpd:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7003:80"
|
||||
volumes:
|
||||
- /srv/pubblici:/html
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk add thttpd
|
||||
|
||||
ENTRYPOINT ["thttpd", "-D", "-d", "/html"]
|
||||
|
Loading…
Reference in New Issue