FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Spoke-Docker-14.1.2/Dockerfile at main · campaigncode/Spoke-Docker-14.1.2 · GitHub
campaigncode
/
Spoke-Docker-14.1.2
Public
forked from
ProgressiveCoders/Spoke
Notifications
You must be signed in to change notification settings
Fork
2
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
Spoke-Docker-14.1.2
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
21 lines (18 loc) · 568 Bytes
Breadcrumbs
Spoke-Docker-14.1.2
/
Dockerfile
Copy path
File metadata and controls
executable file
·
21 lines (18 loc) · 568 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
21
ARG
BUILDER_IMAGE=node:20.11.1
ARG
RUNTIME_IMAGE=node:20.11.1-alpine
#
Spoke Builder
FROM
${BUILDER_IMAGE} as builder
COPY
. /spoke
WORKDIR
/spoke
RUN
yarn install --ignore-scripts --non-interactive --frozen-lockfile && \
yarn run prod-build && \
rm -rf node_modules && \
yarn install --production --ignore-scripts
#
Spoke Runtime
FROM
${RUNTIME_IMAGE}
WORKDIR
/spoke
COPY
--from=builder /spoke/build build
COPY
--from=builder /spoke/node_modules node_modules
COPY
--from=builder /spoke/package.json /spoke/yarn.lock ./
EXPOSE
3000
CMD
[
"npm"
,
"start"
]
Back
|
FazBrowse Home
|
New Git URL