mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
refactor: use npm script for serve in docker
This commit is contained in:
@@ -100,9 +100,9 @@ ADD . /app
|
||||
COPY $SCRIPTS_DIRECTORY/$NODE_SETUP_SCRIPT /tmp/
|
||||
|
||||
RUN bash /tmp/$NODE_SETUP_SCRIPT && apt-get install -y nodejs && \
|
||||
### Update npm to latest version
|
||||
### Install wanted npm version
|
||||
npm install -g npm@$NPM_VERSION && \
|
||||
### Install needed npm packages
|
||||
### Install needed global npm packages
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user