jellyfin-web/deployment/Dockerfile.docker
Fernando Fernández 6efef9680d Switch to npm
2021-04-08 00:34:03 +02:00

12 lines
260 B
Docker

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 npm ci --no-audit && mv dist ${ARTIFACT_DIR}