Add script & file for running production without docker

This commit is contained in:
Mark Cooper 2021-09-19 19:22:35 -05:00
parent 2f6417dec2
commit b3ad9c95ce
6 changed files with 23 additions and 6 deletions

View file

@ -1,6 +1,6 @@
const Ffmpeg = require('fluent-ffmpeg')
if (process.env.NODE_ENV !== 'production') {
if (process.env.FFMPEG_PATH) {
Ffmpeg.setFfmpegPath(process.env.FFMPEG_PATH)
}