aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2022-01-05 14:47:02 -0600
committerMax Isom <[email protected]>2022-01-05 15:55:29 -0600
commit49de1ce0bf902e0c65c884fbfb9bcb8428a3b08a (patch)
treead7f13e2dcb17809c69461a80836c0e380b19fb4 /Dockerfile
parent9925298977952129b0a3e9980d742dcae54c89b2 (diff)
downloadmuse-49de1ce0bf902e0c65c884fbfb9bcb8428a3b08a.tar.xz
muse-49de1ce0bf902e0c65c884fbfb9bcb8428a3b08a.zip
Release 0.3.0
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index b58556a..7e080f8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,9 @@
-FROM node:16.13.0-alpine AS base
+FROM node:16.13.0 AS base
-# Install ffmpeg and build dependencies
-RUN apk add --no-cache ffmpeg python2 make g++
+# Install ffmpeg
+RUN apt-get update && \
+ apt-get install -y ffmpeg && \
+ rm -rf /var/lib/apt/lists/*
WORKDIR /usr/app
@@ -22,7 +24,7 @@ FROM dependencies AS builder
COPY . .
-RUN yarn build
+RUN yarn prisma generate && yarn build
# Only copy essentials
FROM base AS prod