🎥 Make videos programmatically with React
docs(studio): enhance studio deploy doc
Antoine Caron0289c5787f86
diff --git a/packages/docs/docs/studio/deploy-server.mdx b/packages/docs/docs/studio/deploy-server.mdxindex 358fa60fc1..02996f6ecc 100644--- a/packages/docs/docs/studio/deploy-server.mdx+++ b/packages/docs/docs/studio/deploy-server.mdx@@ -27,19 +27,30 @@ The following examples have been tested with the [Hello World](/templates/hello-```docker title="Dockerfile"FROM node:20-bookworm-+# Install Chrome dependenciesRUN apt-get update-RUN apt-get install -y chromium-+RUN apt install -y \+ libnss3 \+ libdbus-1-3 \+ libatk1.0-0 \+ libgbm-dev \+ libasound2 \+ libxrandr2 \+ libxkbcommon-dev \+ libxfixes3 \+ libxcomposite1 \+ libxdamage1 \+ libatk-bridge2.0-0 \+ libcups2# 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.* .prettierrc* ./+COPY package.json package*.json yarn.lock* pnpm-lock.yaml* bun.lockb* tsconfig.json* remotion.config.* ./COPY src ./src-# If you have a public folder:COPY public ./public--# Install the right package manager and dependencies. Adjust if needed.+# Install the right package manager and dependencies - see below for Yarn/PNPMRUN npm i+# Install Chrome+RUN npx remotion browser ensureCMD ["npx", "remotion studio"]```@@ -102,6 +113,16 @@ Is not working at the moment. The Render Button is disabled, because the DigitalA normal DigitalOcean droplet does work, though.+## Scaleway Serverless Container++To deploy the [Scaleway Serverless Container](https://www.scaleway.com/en/serverless-containers/):++- First add the above `Dockerfile` to the repository+- Build your docker image and publish it to a docker registry (for example a [Scaleway Docker Registry](https://www.scaleway.com/en/docs/containers/container-registry/quickstart/))+- Then [create your Serverless container namespace](https://www.scaleway.com/en/docs/serverless/containers/how-to/create-a-containers-namespace/) and use [your published docker image](https://www.scaleway.com/en/docs/serverless/containers/how-to/deploy-a-container-from-scaleway-container-registry/).++You can find [an example of a github action workflow that deploy Remotion Studio to Scaleway Serverless Container](https://github.com/lyonjs/shortvid.io/blob/main/.github/workflows/deploy-editor.yml).+## Example for deploymentA test project to deploy the Remotion Studio is available [here](https://github.com/remotion-dev/shorts-customizer).