FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
secureCodeBox/parser-sdk/nodejs/Dockerfile at python-venv · Spritekin/secureCodeBox · GitHub
Spritekin
/
secureCodeBox
Public
forked from
secureCodeBox/secureCodeBox
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
secureCodeBox
/
parser-sdk
/
nodejs
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (18 loc) · 729 Bytes
Breadcrumbs
secureCodeBox
/
parser-sdk
/
nodejs
/
Dockerfile
Copy path
File metadata and controls
20 lines (18 loc) · 729 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#
SPDX-FileCopyrightText: the secureCodeBox authors
#
#
SPDX-License-Identifier: Apache-2.0
FROM
node:16-alpine as build
WORKDIR
/home/app
COPY
package.json package-lock.json ./
RUN
npm ci --production
FROM
node:16-alpine
ARG
NODE_ENV
RUN
addgroup --system --gid 1001 app && adduser app --system --uid 1001 --ingroup app
WORKDIR
/home/app/parser-wrapper/
COPY
--from=build --chown=app:app /home/app/node_modules/ ./node_modules/
COPY
--chown=app:app ./parser-wrapper.js ./parser-wrapper.js
COPY
--chown=app:app ./parser-utils.js ./parser-utils.js
COPY
--chown=app:app ./findings-schema.json ./findings-schema.json
USER
1001
ENV
NODE_ENV ${NODE_ENV:-production}
ENTRYPOINT
[
"node"
,
"/home/app/parser-wrapper/parser-wrapper.js"
]
Back
|
FazBrowse Home
|
New Git URL