From f7257327728316ca532829b067a049fe7e31ec5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jovan=20Kruni=C4=87?= Date: Thu, 8 Apr 2021 10:43:36 +0200 Subject: [PATCH] build: create tmp project outside of app directory - Otherwise it creates app's apk and not apk from the tmp project --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5e5ecbfc..a1c76cdb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -106,7 +106,7 @@ RUN bash /tmp/$NODE_SETUP_SCRIPT && apt-get install -y nodejs && \ npm install -g @ionic/cli@$IONIC_VERSION cordova@$CORDOVA_VERSION cordova-res@$CORDOVA_RES_VERSION ### Create, build, delete an empty cordova project to download necessary maven files and keep them in image -RUN cordova create tmp-project && \ +RUN cd / && cordova create tmp-project && \ cd tmp-project && \ cordova platform add android && \ cordova build && \