File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ FROM ${BASE_NAMESPACE:+$BASE_NAMESPACE/}${BASE_IMG}
1818COPY --from=builder /opt/casdoor /opt/casdoor
1919COPY work/app.conf /opt/casdoor/conf/app.conf
2020RUN set -eux \
21+ && apt-get -qq update -yq --fix-missing && apt-get -qq install -yq --no-install-recommends lsof \
2122 && mkdir -pv /root/web && ln -sf /opt/casdoor/web/build /root/web/ && ls -alh /opt/casdoor/web \
2223 && chmod +x /opt/casdoor/docker-entrypoint.sh && ls -alh /opt/casdoor
2324
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ setup_casdoor() {
99 && URL_CASDOOR=" https://github.com/casdoor/casdoor/archive/refs/tags/v${VER_CASDOOR} .tar.gz" \
1010 && echo " Downloading casdoor version ${VER_CASDOOR} from: ${URL_CASDOOR} " \
1111 && install_tar_gz $URL_CASDOOR \
12- && mv /opt/casdoor-* /tmp/casdoor && mkdir -pv /opt/casdoor/web /opt/casdoor/conf
12+ && mv /opt/casdoor-* /tmp/casdoor && mkdir -pv /opt/casdoor/web/build /opt/casdoor/conf
1313
1414 echo " --> Building Backend..." \
1515 && cd /tmp/casdoor && ./build.sh \
@@ -24,7 +24,7 @@ setup_casdoor() {
2424 && cd /tmp && corepack enable && yarn -v \
2525 && cd /tmp/casdoor/web \
2626 && yarn set version berry && yarn install && yarn run build \
27- && mv ./build* /* /opt/casdoor/web/
27+ && mv ./build* /* /opt/casdoor/web/build/
2828 # && yarn install --frozen-lockfile && yarn run build \
2929
3030 echo " --> Finished building casdoor to /opt/casdoor!" \
You can’t perform that action at this time.
0 commit comments