File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11ARG NODE_VERSION=22.14.0
22FROM node:${NODE_VERSION}-bookworm-slim AS base
3- WORKDIR /app
3+ # that workdir MUST NOT be changed because of backward compatibility with the engine <= 1.177.7
4+ WORKDIR /root/cf-runtime
45
56FROM base AS build-dependencies
67RUN apt-get update \
@@ -25,7 +26,7 @@ FROM base AS final
2526RUN npm uninstall -g --logs-max=0 corepack npm
2627USER node
2728
28- COPY --from=prod-dependencies --chown=node:node /app /node_modules node_modules
29- COPY --from=build --chown=node:node /app /dist lib
29+ COPY --from=prod-dependencies --chown=node:node /root/cf-runtime /node_modules node_modules
30+ COPY --from=build --chown=node:node /root/cf-runtime /dist lib
3031
3132CMD ["node" , "lib/index.js" ]
Original file line number Diff line number Diff line change 1- version : 1.12.4
1+ version : 1.12.5
You can’t perform that action at this time.
0 commit comments