mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
14 lines
313 B
Docker
14 lines
313 B
Docker
FROM node:lts-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 python3
|
|
|
|
WORKDIR ${SOURCE_DIR}
|
|
COPY . .
|
|
|
|
RUN npm ci --no-audit --unsafe-perm \
|
|
&& npm run build:production \
|
|
&& mv dist ${ARTIFACT_DIR}
|