-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from EYBlockchain/swati/updateImages
chore: update the dependencies
- Loading branch information
Showing
3 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ name: Release updated | |
on: | ||
push: | ||
branches: | ||
- swati/updates | ||
- swati/updateImages | ||
|
||
jobs: | ||
release: | ||
BuildDockerImage: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -41,3 +41,21 @@ jobs: | |
# username: ${{ github.actor }} | ||
# password: ${{ secrets.GITHUB_TOKEN }} | ||
push: true | ||
# ScanImage: | ||
# name: Aquasec scan | ||
# runs-on: ubuntu-latest | ||
# needs: [BuildDockerImage] | ||
# steps: | ||
# - name: Trigger Aquascan Image Scan | ||
# uses: convictional/[email protected] | ||
# with: | ||
# owner: ${{ github.repository_owner }} | ||
# repo: saas-platform-iac-automation | ||
# github_token: ${{ secrets.GPR_TOKEN_WITH_WORKFLOW_RIGHT }} | ||
# workflow_file_name: image-scan-workflow.yml | ||
# ref: master | ||
# wait_interval: 11 | ||
# propagate_failure: true | ||
# trigger_workflow: true | ||
# wait_workflow: true | ||
# client_payload: '{"image": ""${{ secrets.GHCR_REGISTRY }}/eyblockchain/timber-updated:latest"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
FROM node:iron-slim | ||
FROM node:lts-alpine | ||
|
||
ENV USERNAME="app" | ||
|
||
RUN addgroup --gid 10001 $USERNAME && \ | ||
adduser --gid 10001 --uid 10001 --home /app $USERNAME | ||
RUN addgroup -S $USERNAME && \ | ||
adduser -S $USERNAME -G $USERNAME --home /app $USERNAME | ||
|
||
WORKDIR /app | ||
|
||
COPY ./package.json ./package-lock.json ./ | ||
RUN npm install | ||
COPY ./src ./src | ||
COPY ./test ./test | ||
COPY ./.babelrc ./ | ||
RUN npm install | ||
|
||
USER $USERNAME:$USERNAME | ||
|
||
EXPOSE 80 | ||
|
||
CMD npm start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ | |
"Michael Connor <[email protected]>" | ||
], | ||
"dependencies": { | ||
"axios": "^1.6.0", | ||
"axios": "1.7.4", | ||
"big-integer": "^1.6.48", | ||
"body-parser": "^1.19.0", | ||
"config": "^3.3.1", | ||
"cors": "^2.8.5", | ||
"express": "^4.17.3", | ||
"express": "^4.19.2", | ||
"express-promise-router": "^3.0.3", | ||
"fs-extra": "^8.1.0", | ||
"hex-to-binary": "^1.0.1", | ||
|