Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG NODE_VERSION=22.14.0
FROM node:${NODE_VERSION}-bookworm-slim AS base
WORKDIR /app
# that workdir MUST NOT be changed because of backward compatibility with the engine <= 1.177.7
WORKDIR /root/cf-runtime

FROM base AS build-dependencies
RUN apt-get update \
Expand All @@ -25,7 +26,7 @@ FROM base AS final
RUN npm uninstall -g --logs-max=0 corepack npm
USER node

COPY --from=prod-dependencies --chown=node:node /app/node_modules node_modules
COPY --from=build --chown=node:node /app/dist lib
COPY --from=prod-dependencies --chown=node:node /root/cf-runtime/node_modules node_modules
COPY --from=build --chown=node:node /root/cf-runtime/dist lib

CMD ["node", "lib/index.js"]
2 changes: 1 addition & 1 deletion service.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 1.12.4
version: 1.12.5