build: create tmp project outside of app directory

- Otherwise it creates app's apk and not apk from
the tmp project
This commit is contained in:
Jovan Krunić
2021-04-08 10:43:36 +02:00
parent dca6287b90
commit f725732772

View File

@@ -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 && \