File tree Expand file tree Collapse file tree 5 files changed +4303
-5560
lines changed Expand file tree Collapse file tree 5 files changed +4303
-5560
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
defaults : &defaults
3
3
docker :
4
- - image : circleci /python:2.7-stretch -browsers
4
+ - image : cimg /python:3.11.0 -browsers
5
5
install_dependency : &install_dependency
6
6
name : Installation of build and deployment dependencies.
7
7
command : |
8
+ sudo apt update
8
9
sudo apt install jq
9
- sudo pip install awscli --upgrade
10
- sudo pip install docker-compose
10
+ sudo apt install python3-pip
11
+ sudo pip3 install awscli --upgrade
12
+ sudo pip3 install docker-compose
11
13
install_deploysuite : &install_deploysuite
12
14
name : Installation of install_deploysuite.
13
15
command : |
@@ -16,10 +18,10 @@ install_deploysuite: &install_deploysuite
16
18
cp ./../buildscript/buildenv.sh .
17
19
cp ./../buildscript/awsconfiguration.sh .
18
20
restore_cache_settings_for_build : &restore_cache_settings_for_build
19
- key : docker-node-modules-{{ checksum "package-lock.json " }}
21
+ key : docker-node-modules-{{ checksum "yarn.lock " }}
20
22
21
23
save_cache_settings : &save_cache_settings
22
- key : docker-node-modules-{{ checksum "package-lock.json " }}
24
+ key : docker-node-modules-{{ checksum "yarn.lock " }}
23
25
paths :
24
26
- node_modules
25
27
@@ -74,4 +76,6 @@ workflows:
74
76
context : org-global
75
77
filters :
76
78
branches :
77
- only : master
79
+ only :
80
+ - master
81
+ - hotfix/inc-15
Original file line number Diff line number Diff line change 1
1
# Use the base image with Node.js
2
- FROM node:8.9.2
2
+ FROM node:12.22.12
3
3
4
4
# Copy the current directory into the Docker image
5
5
COPY . /member-api-v5
@@ -8,6 +8,6 @@ COPY . /member-api-v5
8
8
WORKDIR /member-api-v5
9
9
10
10
# Install the dependencies from package.json
11
- RUN npm install
11
+ RUN yarn
12
12
13
- CMD npm start
13
+ CMD yarn start
You can’t perform that action at this time.
0 commit comments