Release 0.3.0

This commit is contained in:
Max Isom 2022-01-05 14:47:02 -06:00
parent 9925298977
commit 49de1ce0bf
No known key found for this signature in database
GPG key ID: 25C9B1A7F6798880
4 changed files with 15 additions and 10 deletions

View file

@ -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