This commit is contained in:
lendry
2026-06-26 20:39:41 +03:00
parent 65abf17421
commit 8805ec327f
6 changed files with 423 additions and 3 deletions

View File

@@ -7,6 +7,8 @@ ENV JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
ENV PATH=/root/.cargo/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/usr/local/bin:$PATH
ARG NPM_REGISTRY=https://registry.npmjs.org
ARG PUBLIC_API_URL=http://localhost:3000
ARG PUBLIC_FRONTEND_URL=http://localhost:3002
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
@@ -62,8 +64,8 @@ ENV GRADLE_USER_HOME=/root/.gradle
RUN /workspace/tauri_app/docker/prefetch-android-agp.sh
ENV VITE_API_URL=https://id.lendry.ru
ENV VITE_FRONTEND_URL=https://id.lendry.ru
ENV VITE_API_URL=${PUBLIC_API_URL}
ENV VITE_FRONTEND_URL=${PUBLIC_FRONTEND_URL}
RUN /workspace/tauri_app/docker/warm-gradle-cache.sh
CMD ["build-android-apk"]