aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..d4f64df
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+FROM jrottenberg/ffmpeg:4.0-scratch
+FROM node:13
+
+# Copy ffmpeg bins
+COPY --from=0 / /
+
+WORKDIR /usr/app
+
+COPY package.json .
+
+RUN yarn install
+
+COPY . .
+
+RUN yarn run build
+
+ENV DATA_DIR /data
+
+CMD ["yarn", "start"]