diff --git a/.gitmodules b/.gitmodules index 8c76ed4..8ecda16 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,7 +13,7 @@ [submodule "lemmy-js-client"] path = lemmy-js-client url = https://github.com/LemmyNet/lemmy-js-client - branch = release/v0.17 + branch = release/v0.18 [submodule "lemmy-stats-crawler"] path = lemmy-stats-crawler url = https://github.com/LemmyNet/lemmy-stats-crawler.git diff --git a/Dockerfile b/Dockerfile index e7d5c34..44de697 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY lemmy-docs ./lemmy-docs RUN ./mdbook build lemmy-docs -d ../docs # Build the typedoc API docs -FROM node:14-alpine as api +FROM node:alpine as api WORKDIR /app COPY lemmy-js-client lemmy-js-client WORKDIR /app/lemmy-js-client @@ -23,7 +23,7 @@ RUN yarn RUN yarn docs # Build the isomorphic app -FROM node:14-alpine as builder +FROM node:alpine as builder RUN apk update && apk add yarn python3 build-base gcc wget git --no-cache WORKDIR /app @@ -50,7 +50,7 @@ COPY --from=api /app/lemmy-js-client/docs ./src/assets/api RUN yarn RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod -FROM node:14-alpine as runner +FROM node:alpine as runner COPY --from=builder /app/dist /app/dist COPY --from=builder /app/node_modules /app/node_modules diff --git a/lemmy-js-client b/lemmy-js-client index 2eac19b..4553c74 160000 --- a/lemmy-js-client +++ b/lemmy-js-client @@ -1 +1 @@ -Subproject commit 2eac19b2a21d77d711b8a0b0a534affe0d4d6851 +Subproject commit 4553c749cb0fb74d62fd156ebd119dc479693dfd