diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1fe86b81..cf3b7f02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ image: registry.gitlab.com/openstapps/app before_script: - - npm install + - npm ci default: tags: diff --git a/Dockerfile b/Dockerfile index a1c76cdb..74764b41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ LABEL version="2.0.0" \ ### Configure versions to install ENV ANDROID_APIS="android-30" \ ANDROID_BUILD_TOOLS_VERSION="30.0.2" \ - NPM_VERSION="latest" \ + NPM_VERSION="^6.0.0" \ IONIC_VERSION="^6.0.0" \ CORDOVA_VERSION="^10.0.0" \ CORDOVA_RES_VERSION="latest" \ diff --git a/Dockerfile.Executable b/Dockerfile.Executable index d5ae4da8..c38a9638 100644 --- a/Dockerfile.Executable +++ b/Dockerfile.Executable @@ -2,7 +2,7 @@ # Dependencies need to be installed beforehand # Needs to be build beforehand # docker build -t registry.gitlab.com/openstapps/app/executable:core-x.y -f Dockerfile.Executable . -FROM node:10-alpine +FROM node:14-alpine WORKDIR /app COPY . /app @@ -17,4 +17,4 @@ EXPOSE 8100 RUN npm rebuild node-sass # Starts the app -CMD ng run app:serve --host=0.0.0.0 --port=8100 \ No newline at end of file +CMD ng run app:serve --host=0.0.0.0 --port=8100