FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
secureCodeBox/hook-sdk/nodejs/Dockerfile at main · secureCodeBox/secureCodeBox · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
secureCodeBox
/
secureCodeBox
Public
Notifications
You must be signed in to change notification settings
Fork
183
Star
985
Code
Issues
62
Pull requests
3
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
secureCodeBox
/
hook-sdk
/
nodejs
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (18 loc) · 668 Bytes
Breadcrumbs
secureCodeBox
/
hook-sdk
/
nodejs
/
Dockerfile
Copy path
File metadata and controls
20 lines (18 loc) · 668 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
oven/bun:1.4 AS build
WORKDIR
/home/app/
COPY
package.json package-lock.json ./
RUN
bun install --ignore-scripts
COPY
*.js ./
RUN
bun run build
FROM
node:24-alpine
ARG
NODE_ENV
RUN
addgroup --system --gid 1001 app && adduser app --system --uid 1001 --ingroup app
WORKDIR
/home/app/hook-wrapper/
COPY
--chown=root:root --chmod=755 ./package.json ./package-lock.json ./
COPY
--from=build --chown=root:root --chmod=755 /home/app/build/ ./
USER
1001
ENV
NODE_ENV=${NODE_ENV:-production}
ENTRYPOINT
[
"node"
,
"--enable-source-maps"
,
"/home/app/hook-wrapper/hook-wrapper.js"
]
Back
|
FazBrowse Home
|
New Git URL