Skip to content

Commit 7557054

Browse files
yanlin-taoangrave
authored andcommitted
add dependencies
1 parent 400c566 commit 7557054

File tree

3 files changed

+22
-220
lines changed

3 files changed

+22
-220
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ----------------------------------------------------------------------
22
# COMPILE REACT APP
33
# ----------------------------------------------------------------------
4-
FROM --platform=$BUILDPLATFORM node:18 AS frontend
4+
FROM --platform=$BUILDPLATFORM node:24 AS frontend
55
WORKDIR /frontend
66

77
COPY scripts scripts/
@@ -13,6 +13,7 @@ RUN yarn && yarn install
1313
# COPY jsconfig.json .
1414
COPY public/ public/
1515
COPY src/ src/
16+
COPY index.html vite.config.js /frontend/
1617

1718
RUN yarn build
1819

@@ -25,7 +26,7 @@ ARG BRANCH="unknown"
2526
ARG BUILDNUMBER="local"
2627
ARG GITSHA1="unknown"
2728

28-
COPY --from=frontend /frontend/build /build/
29+
COPY --from=frontend /frontend/dist /build/
2930
COPY config.template /config.template
3031
COPY nginx.conf /etc/nginx/conf.d/default.conf
3132

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
"mk-guide": "^1.10.5",
7575
"moment": "^2.29.4",
7676
"papaparse": "^5.2.0",
77+
"path-to-regexp": "^1.8.0",
7778
"pico-ui": "^0.0.13",
7879
"popper.js": "^1.16.1",
7980
"postcss-flexbugs-fixes": "4.2.1",

0 commit comments

Comments
 (0)