mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 10:28: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}
|