Docker: Add support for service worker (#4296)

Service worker requires web-push package.
This commit is contained in:
かひわし4(バージョン1) 2019-02-17 21:26:00 +09:00 committed by syuilo
parent 683b242215
commit fb4a921cd9

View File

@ -32,6 +32,7 @@ FROM base AS runner
RUN apk add --no-cache \ RUN apk add --no-cache \
ffmpeg \ ffmpeg \
tini tini
RUN npm i -g web-push
ENTRYPOINT ["/sbin/tini", "--"] ENTRYPOINT ["/sbin/tini", "--"]
COPY --from=builder /misskey/node_modules ./node_modules COPY --from=builder /misskey/node_modules ./node_modules