diff --git a/docker/Dockerfile b/docker/Dockerfile index f920998..f04de89 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -65,15 +65,8 @@ RUN apk add \ WORKDIR ${SOURCE_DIR} COPY jellyfin-web . -# Initialize git repo so webpack can get version info -# Remove submodule .git reference first -RUN rm -f .git \ - && git init \ - && git config user.email "build@jellyfin.org" \ - && git config user.name "Jellyfin Build" \ - && git add -A \ - && git commit -m "Build ${JELLYFIN_VERSION}" \ - && git tag -a "v${JELLYFIN_VERSION}" -m "Version ${JELLYFIN_VERSION}" +# Remove broken submodule .git reference +RUN rm -f .git RUN npm ci --no-audit --unsafe-perm \ && npm run build:production \