jellyfin-web/deployment/Dockerfile.docker

14 lines
313 B
Docker
Raw Normal View History

2021-05-03 08:42:36 -07:00
FROM node:lts-alpine
2020-06-14 16:23:27 -07:00
ARG SOURCE_DIR=/src
ARG ARTIFACT_DIR=/jellyfin-web
2021-05-03 08:42:36 -07:00
RUN apk add autoconf g++ make libpng-dev gifsicle alpine-sdk automake libtool make gcc musl-dev nasm python3
2020-06-14 16:23:27 -07:00
2020-06-15 03:54:00 -07:00
WORKDIR ${SOURCE_DIR}
2020-06-14 16:23:27 -07:00
COPY . .
2023-03-10 10:24:43 -07:00
RUN npm ci --no-audit --unsafe-perm \
&& npm run build:production \
&& mv dist ${ARTIFACT_DIR}