Skip to content

Commit c7c7620

Browse files
docker warning added (#7335)
1 parent 7a86cf0 commit c7c7620

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

content/200-orm/050-overview/500-databases/800-sql-server/030-sql-server-docker.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ metaDescription: 'Download and use the Microsoft SQL Server Docker image.'
88
This guide provides a quick overview on setting up and running Microsoft SQL Server in a Docker container, including pulling the image, starting the server, connecting, and creating a test database.
99
:::
1010

11+
:::warning
12+
13+
Prisma 7.0.0 has updated minimum Node.js requirements:
14+
- Node.js 20: >= 20.19.0
15+
- Node.js 22: >= 22.12.0
16+
- Node.js 24: >= 24.0.0+
17+
18+
If you're using Prisma 7.0.0 or higher with Docker, ensure your application's Docker base image uses Node.js 22 or 24. Update your Dockerfile to use `node:22-alpine` or `node:24-alpine` instead of older Node.js 20 images.
19+
20+
:::
1121

1222
<TopBlock>
1323

content/200-orm/200-prisma-client/450-testing/150-integration-testing.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ One way to simulate a real world environment is to use [Docker](https://www.dock
1919

2020
This guide assumes you have [Docker](https://docs.docker.com/get-started/get-docker/) and [Docker Compose](https://docs.docker.com/compose/install/) installed on your machine as well as `Jest` setup in your project.
2121

22+
:::warning
23+
24+
Prisma 7.0.0 has updated minimum Node.js requirements:
25+
- Node.js 20: >= 20.19.0
26+
- Node.js 22: >= 22.12.0
27+
- Node.js 24: >= 24.0.0+
28+
29+
If you're using Prisma 7.0.0 or higher with Docker, ensure your application's Docker base image uses Node.js 22 or 24. Update your Dockerfile to use `node:22-alpine` or `node:24-alpine` instead of older Node.js 20 images.
30+
31+
:::
32+
2233
The following ecommerce schema will be used throughout the guide. This varies from the traditional `User` and `Post` models used in other parts of the docs, mainly because it is unlikely you will be running integration tests against your blog.
2334

2435
<details>

content/800-guides/130-docker.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ This guide walks you through setting up a Prisma ORM application within a Docker
2828
- [Docker](https://docs.docker.com/) and [Docker Compose](https://docs.docker.com/compose/) installed
2929
- Node.js version: A [compatible Node.js version](/orm/more/upgrade-guides/upgrading-versions/upgrading-to-prisma-6#minimum-supported-nodejs-versions), required for Prisma 6.
3030

31+
:::warning
32+
33+
Prisma 7.0.0 has updated minimum Node.js requirements:
34+
- Node.js 20: >= 20.19.0
35+
- Node.js 22: >= 22.12.0
36+
- Node.js 24: >= 24.0.0+
37+
38+
If you're using Prisma 7.0.0 or higher with Docker, ensure your application's Docker base image uses Node.js 22 or 24. Update your Dockerfile to use `node:22-alpine` or `node:24-alpine` instead of older Node.js 20 images.
39+
40+
:::
41+
3142
Before starting, ensure that no PostgreSQL services are running locally, and that the following ports are free to avoid conflicts: `5432` (PostgreSQL), `3000` (application server) or `5555` (Prisma Studio server).
3243

3344
To stop existing PostgreSQL services, use:

0 commit comments

Comments
 (0)