Skip to content

🎥 Make videos programmatically with React

add debian distro

Jonny Burger3201c13181f8
diff --git a/packages/dockerfiles/Dockerfile.debian b/packages/dockerfiles/Dockerfile.debian
new file mode 100644
index 0000000000..ef49a0be31
--- /dev/null
+++ b/packages/dockerfiles/Dockerfile.debian
@@ -0,0 +1,10 @@
+FROM node:20-bookworm
+
+RUN apt-get update
+WORKDIR /usr/app
+RUN git clone https://github.com/remotion-dev/template-helloworld /usr/app
+RUN cd /usr/app
+RUN npm i
+RUN npx remotion browser ensure
+RUN apt install libnss3 libdbus-1-3 libatk1.0-0 libgbm-dev libasound2 libxrandr2 libxkbcommon-dev libxfixes3 libxcomposite1 libxdamage1 libatk-bridge2.0-0 -y
+RUN npx remotion compositions
diff --git a/packages/dockerfiles/run.sh b/packages/dockerfiles/run.sh
new file mode 100644
index 0000000000..9edae015bb
--- /dev/null
+++ b/packages/dockerfiles/run.sh
@@ -0,0 +1 @@
+docker build --file Dockerfile.debian . --output type=tar,dest=/dev/null --progress=plain