Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package nodejs-20-image for openSUSE:Factory
checked in at 2024-06-17 19:33:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-20-image (Old)
and /work/SRC/openSUSE:Factory/.nodejs-20-image.new.19518 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-20-image"
Mon Jun 17 19:33:38 2024 rev:11 rq:1181270 version:unknown
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-20-image/nodejs-20-image.changes
2024-06-11 18:29:48.850009092 +0200
+++
/work/SRC/openSUSE:Factory/.nodejs-20-image.new.19518/nodejs-20-image.changes
2024-06-17 19:33:43.531616008 +0200
@@ -1,0 +2,5 @@
+Mon Jun 17 08:06:22 UTC 2024 - Alexandre Vicenzi <[email protected]>
+
+- Extend README.md
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ README.md ++++++
--- /var/tmp/diff_new_pack.wkWvB1/_old 2024-06-17 19:33:44.823663477 +0200
+++ /var/tmp/diff_new_pack.wkWvB1/_new 2024-06-17 19:33:44.827663625 +0200
@@ -1,7 +1,49 @@
-# The openSUSE Tumbleweed BCI Node.js 20 development Container Image
+# Node.js 20 development container image
+

-Node.js 20 development container based on the openSUSE Tumbleweed Base
Container Image.
+## Description
+
+[Node.js](https://nodejs.org/) is a free, open-source, cross-platform
JavaScript run-time environment that lets developers write server-side
applications and tools outside of a browser.
+
+## Usage
+
+To deploy an application, install dependencies, copy the sources, and
configure the application's main script:
+
+```Dockerfile
+FROM registry.opensuse.org/opensuse/bci/nodejs:20
+
+WORKDIR /app
+
+COPY package.json package-lock.json ./
+RUN npm install
+
+COPY . .
+
+EXPOSE 3000
+
+CMD [ "node", "./server.js" ]
+```
+
+Build and run the container image:
+
+```ShellSession
+$ podman build -t my-node-app .
+$ podman run -it -p 3000:3000 --rm my-node-app
+```
+
+The example above assumes that there is a `package-lock.lock` file in the
application directory.
+To generate a `package-lock.lock` file, use the following command:
+
+```ShellSession
+$ podman run --rm -v "$PWD":/app:Z -w /app
registry.opensuse.org/opensuse/bci/nodejs:20 npm i --package-lock-only
+```
+
+To run a single script inside a container, use the following command:
+
+```ShellSession
+$ podman run --rm -v "$PWD":/app:Z -w /app
registry.opensuse.org/opensuse/bci/nodejs:20 node script.js
+```
## Licensing