Add builder Dockerfile and steps in CI

This commit is contained in:
Joshua M. Boniface 2020-06-14 19:23:27 -04:00
parent 4e4c5b1400
commit 95be2ba211
2 changed files with 60 additions and 2 deletions

View file

@ -0,0 +1,11 @@
FROM node:alpine
ARG SOURCE_DIR=/src
ARG ARTIFACT_DIR=/jellyfin-web
RUN apk add autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python
WORKDIR ${SOURCE_DIR}/
COPY . .
RUN yarn install && mv dist ${ARTIFACT_DIR}