Add Node.js-based static file server

This commit is contained in:
Starbeamrainbowlabs 2020-10-04 12:28:49 +01:00
parent 00dcd7603e
commit f4c70f09e0
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 17 additions and 1 deletions

View file

@ -8,6 +8,7 @@
UID | GID | Container | Notes UID | GID | Container | Notes
--------|-------|-----------------------|----------------- --------|-------|-----------------------|-----------------
3 | 3 | docker-registry-ui | 3 | 3 | docker-registry-ui |
50 | 995 | image-wrangler | 995 = docker group 50 | 995 | image-wrangler | 995 = docker group, deprecated
60 | 60 | minetest-mapserver | 60 | 60 | minetest-mapserver |
70 | 70 | etherpad | 70 | 70 | etherpad |
80 | 80 | serve | Static HTTP Server based on Node.js

View file

@ -0,0 +1,14 @@
ARG REPO_LOCATION
# ARG BASE_VERSION
FROM ${REPO_LOCATION}minideb-node
RUN npm install --global serve && rm -rf "$(npm get cache)";
VOLUME [ "/srv" ]
USER 80:80
ENV NODE_ENV production
WORKDIR /srv
ENTRYPOINT [ "serve", "-l", "5000" ]

View file

@ -0,0 +1 @@
docker