File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424COPY CHANGELOG.md /usr/src/container/CHANGELOG.md
2525COPY LICENSE /usr/src/container/LICENSE
2626COPY README.md /usr/src/container/README.md
27- COPY patches/ /usr/src/patches/
27+ COPY patches/* /usr/src/patches/
2828
2929RUN echo "" && \
3030 BUILD_ENV=" \
@@ -49,13 +49,11 @@ RUN echo "" && \
4949 ELEMENT_RUN_DEPS \
5050 && \
5151 \
52- clone_git_repo "${ELEMENT_REPO_URL}" "${ELEMENT_VERSION}" /usr/src/element-web && \
53- # build_assets src /build-assets/element-web/src "${GIT_REPO_SRC_ELEMENT_WEB}" && \
54- # build_assets scripts /build-assets/element-web/scripts && \
5552 npm install -g pnpm && \
56- pnpm install && \
53+ \
54+ clone_git_repo "${ELEMENT_REPO_URL}" "${ELEMENT_VERSION}" /usr/src/element-web && \
5755 for p in /usr/src/patches/*.patch; do echo "Applying $(basename $p)..." && patch -p1 < "$p" && echo " OK" || { echo " FAILED" ; exit 1; }; done && \
58- # patch -p1 < /usr/src/patches/0002-sync-fallback.patch && \
56+ pnpm install && \
5957 pnpm exec nx run apps/web:build && \
6058 mkdir -p /www/html && \
6159 cp -R apps/web/webapp/* /www/html/ && \
You can’t perform that action at this time.
0 commit comments