mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-25 05:41:16 +00:00
Upgrading lemmy-js-client to use the new docs. (#195)
This commit is contained in:
parent
7aef53b900
commit
6d3c6304ab
3 changed files with 5 additions and 5 deletions
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -13,7 +13,7 @@
|
||||||
[submodule "lemmy-js-client"]
|
[submodule "lemmy-js-client"]
|
||||||
path = lemmy-js-client
|
path = lemmy-js-client
|
||||||
url = https://github.com/LemmyNet/lemmy-js-client
|
url = https://github.com/LemmyNet/lemmy-js-client
|
||||||
branch = release/v0.17
|
branch = release/v0.18
|
||||||
[submodule "lemmy-stats-crawler"]
|
[submodule "lemmy-stats-crawler"]
|
||||||
path = lemmy-stats-crawler
|
path = lemmy-stats-crawler
|
||||||
url = https://github.com/LemmyNet/lemmy-stats-crawler.git
|
url = https://github.com/LemmyNet/lemmy-stats-crawler.git
|
||||||
|
|
|
@ -15,7 +15,7 @@ COPY lemmy-docs ./lemmy-docs
|
||||||
RUN ./mdbook build lemmy-docs -d ../docs
|
RUN ./mdbook build lemmy-docs -d ../docs
|
||||||
|
|
||||||
# Build the typedoc API docs
|
# Build the typedoc API docs
|
||||||
FROM node:14-alpine as api
|
FROM node:alpine as api
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY lemmy-js-client lemmy-js-client
|
COPY lemmy-js-client lemmy-js-client
|
||||||
WORKDIR /app/lemmy-js-client
|
WORKDIR /app/lemmy-js-client
|
||||||
|
@ -23,7 +23,7 @@ RUN yarn
|
||||||
RUN yarn docs
|
RUN yarn docs
|
||||||
|
|
||||||
# Build the isomorphic app
|
# 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
|
RUN apk update && apk add yarn python3 build-base gcc wget git --no-cache
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -50,7 +50,7 @@ COPY --from=api /app/lemmy-js-client/docs ./src/assets/api
|
||||||
RUN yarn
|
RUN yarn
|
||||||
RUN NODE_OPTIONS="--max-old-space-size=8192" yarn build:prod
|
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/dist /app/dist
|
||||||
COPY --from=builder /app/node_modules /app/node_modules
|
COPY --from=builder /app/node_modules /app/node_modules
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 2eac19b2a21d77d711b8a0b0a534affe0d4d6851
|
Subproject commit 4553c749cb0fb74d62fd156ebd119dc479693dfd
|
Loading…
Reference in a new issue