mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-09 19:51:36 +02:00
Release 0.3.0
This commit is contained in:
parent
9925298977
commit
49de1ce0bf
4 changed files with 15 additions and 10 deletions
10
Dockerfile
10
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue