|
1 | 1 | # ============================= |
2 | 2 | # Base Node image |
3 | 3 | # ============================= |
4 | | -FROM node:22.14.0-alpine AS base |
| 4 | +FROM node:24-alpine AS base |
5 | 5 |
|
6 | 6 | WORKDIR /app |
7 | 7 | ENV NODE_ENV=production |
@@ -68,6 +68,7 @@ RUN npm i --no-save @rollup/rollup-linux-x64-musl |
68 | 68 | COPY --from=types /app/api/config api/config |
69 | 69 | COPY --from=types /app/api/types api/types |
70 | 70 | ADD /api/src/config.ts api/src/config.ts |
| 71 | +COPY shared shared |
71 | 72 | ADD /ui ui |
72 | 73 | RUN npm -w ui run build |
73 | 74 |
|
@@ -106,7 +107,7 @@ COPY package.json README.md LICENSE BUILD.json* ./ |
106 | 107 | EXPOSE 9090 |
107 | 108 | # USER node # This would be great to use, but not possible as the volumes are mounted as root |
108 | 109 | WORKDIR /app/worker |
109 | | -CMD ["node", "--experimental-strip-types", "index.ts"] |
| 110 | +CMD ["node", "--disable-warning=ExperimentalWarning", "index.ts"] |
110 | 111 |
|
111 | 112 | # ============================= |
112 | 113 | # Install production dependencies for API |
@@ -141,4 +142,4 @@ EXPOSE 8080 |
141 | 142 | EXPOSE 9090 |
142 | 143 | # USER node # This would be great to use, but not possible as the volumes are mounted as root |
143 | 144 | WORKDIR /app/api |
144 | | -CMD ["node", "--max-http-header-size", "65536", "--experimental-strip-types", "index.ts"] |
| 145 | +CMD ["node", "--max-http-header-size", "65536", "--disable-warning=ExperimentalWarning", "index.ts"] |
0 commit comments