jellyfin-web/deployment/Dockerfile.docker

12 lines
279 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 . .
2021-04-08 14:09:52 -07:00
RUN npm ci --no-audit --unsafe-perm && mv dist ${ARTIFACT_DIR}