Add Dockerfile

This commit is contained in:
Max Isom 2020-03-17 12:30:27 -05:00
parent 426d0b0335
commit 1a1bdfd674
6 changed files with 55 additions and 28 deletions

19
Dockerfile Normal file
View file

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