refs #7721 image-push renamed to image-build, node image added

This commit is contained in:
Juan Ferrer 2024-07-15 12:16:26 +02:00
parent eca88bbf8b
commit 24ab6cc7ad
3 changed files with 14 additions and 1 deletions

View File

@ -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: 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. * *image-cache.sh*: Cache docker hub image in the local registry.
Use *image.conf* for local registry and repository configuration. Use *image.conf* for local registry and repository configuration.

13
node/Dockerfile Normal file
View File

@ -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/*