Skip to content

🎥 Make videos programmatically with React

use node 20 in general

Jonny Burgerf22e6b763db3
diff --git a/packages/cloudrun/container/Dockerfile b/packages/cloudrun/container/Dockerfile
index 70eeed855d..22d871d7b2 100644
--- a/packages/cloudrun/container/Dockerfile
+++ b/packages/cloudrun/container/Dockerfile
@@ -1,7 +1,7 @@
-FROM debian:bookworm-20230411
+FROM node:20-bookworm
RUN apt-get update
-RUN apt-get install -y nodejs npm chromium
+RUN apt-get install -y chromium
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
diff --git a/packages/docs/docs/deploy-remotion-studio.md b/packages/docs/docs/deploy-remotion-studio.md
index bd5b014105..8e5303301a 100644
--- a/packages/docs/docs/deploy-remotion-studio.md
+++ b/packages/docs/docs/deploy-remotion-studio.md
@@ -16,7 +16,7 @@ You can deploy the Remotion Studio to a long-running server in the cloud and mak
## Dockerizing the Remotion Studio
-```Dockerfile
+```docker title="Dockerfile"
FROM node:20-bookworm
RUN apt-get update
diff --git a/packages/docs/docs/docker.md b/packages/docs/docs/docker.md
index 7cd88e7d52..9ac6e86487 100644
--- a/packages/docs/docs/docker.md
+++ b/packages/docs/docs/docker.md
@@ -8,10 +8,10 @@ crumb: "Building video apps"
We recommend the following structure for your Dockerfile. Read below about the individual steps and whether you need to adjust them.
```docker title="Dockerfile"
-FROM debian:bookworm
+FROM node:20-bookworm
RUN apt-get update
-RUN apt-get install -y nodejs npm chromium
+RUN apt-get install -y chromium
# Copy everything from your project to the Docker image. Adjust if needed.
COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* tsconfig.json* remotion.config.* ./
@@ -205,6 +205,8 @@ Alpine Linux is a lightweight distribution often used in Docker. There are two k
## Changelog
+**October 11th, 2023**: Used the node:20-bookworm, which is faster to deploy and also Debian.
+
**September 25th, 2023**: Recommend setting `enableMultiProcessOnLinux`.
**May 30th, 2023**: Update document for Remotion 4.0.