diff --git a/README.md b/README.md index 46ab130..ab6a614 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Dockerfile and compose files used as basis for Verdnatura service deployment. Some scripts are provided to speed up the most common actions: -* *image-push.sh*: Build, tag and push an own image. +* *image-build.sh*: Build, tag and push an own image. * *image-cache.sh*: Cache docker hub image in the local registry. Use *image.conf* for local registry and repository configuration. diff --git a/image-push.sh b/image-build.sh similarity index 100% rename from image-push.sh rename to image-build.sh diff --git a/node/Dockerfile b/node/Dockerfile new file mode 100644 index 0000000..d520086 --- /dev/null +++ b/node/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:12.6-slim + +ARG DEBIAN_FRONTEND=noninteractive + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + curl \ + ca-certificates \ + gnupg2 \ + && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ + && apt-get install -y --no-install-recommends nodejs \ + && npm install -g npm \ + && rm -rf /var/lib/apt/lists/*