Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ See: https://nodejs.org

```dockerfile
# specify the node base image with your desired version node:<version>
FROM node:24
FROM node:26
# replace this with your application's default port
EXPOSE 8888
```
Expand All @@ -76,7 +76,7 @@ If you prefer Docker Compose:
```yml
services:
node:
image: 'node:24'
image: 'node:26'
user: 'node'
working_dir: /home/node/app
environment:
Expand All @@ -91,9 +91,17 @@ services:
You can then run using Docker Compose:

```console
$ docker compose up -d
```

Note: For older Docker installations where Docker Compose V2 is not integrated fully or Docker Compose V1 is used, you may still need to use:
Comment on lines +95 to +97

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't support end-of-life versions like Docker Compose v1

https://docs.docker.com/compose/intro/history/

so this part should not be added.


```
$ docker-compose up -d
```



Docker Compose example mounts your current directory (including node_modules) to the container.
It assumes that your application has a file named [`package.json`](https://docs.npmjs.com/files/package.json)
defining [start script](https://docs.npmjs.com/misc/scripts#default-values).
Expand Down
Loading