From cff95df4ace96e08810188e299362d1d6fcf2696 Mon Sep 17 00:00:00 2001 From: Enrico Regge Date: Thu, 7 Nov 2024 09:56:10 +0100 Subject: [PATCH] replaces ENTRYPOINT for all node based runtime images --- gallery/app/Dockerfile | 2 +- gallery/job/Dockerfile | 2 +- hello/Dockerfile | 2 +- satellite-connector-to-vpc-vsi/ce-job/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gallery/app/Dockerfile b/gallery/app/Dockerfile index 17f2c7d9..bf5eb0a7 100644 --- a/gallery/app/Dockerfile +++ b/gallery/app/Dockerfile @@ -15,4 +15,4 @@ FROM gcr.io/distroless/nodejs20-debian12 COPY --from=build-env /app /app WORKDIR /app EXPOSE 8080 -ENTRYPOINT ["app.js"] \ No newline at end of file +CMD ["app.js"] \ No newline at end of file diff --git a/gallery/job/Dockerfile b/gallery/job/Dockerfile index d4d06630..8e3eba4d 100644 --- a/gallery/job/Dockerfile +++ b/gallery/job/Dockerfile @@ -12,4 +12,4 @@ RUN npm install FROM gcr.io/distroless/nodejs20-debian12 COPY --from=build-env /app /app WORKDIR /app -ENTRYPOINT ["job.js"] +CMD ["job.js"] diff --git a/hello/Dockerfile b/hello/Dockerfile index 9e21ede7..71207c02 100644 --- a/hello/Dockerfile +++ b/hello/Dockerfile @@ -8,4 +8,4 @@ FROM gcr.io/distroless/nodejs20-debian12 COPY --from=build-env /app /app WORKDIR /app EXPOSE 8080 -ENTRYPOINT ["server.js"] \ No newline at end of file +CMD ["server.js"] \ No newline at end of file diff --git a/satellite-connector-to-vpc-vsi/ce-job/Dockerfile b/satellite-connector-to-vpc-vsi/ce-job/Dockerfile index 356f2e5c..07d58588 100644 --- a/satellite-connector-to-vpc-vsi/ce-job/Dockerfile +++ b/satellite-connector-to-vpc-vsi/ce-job/Dockerfile @@ -11,4 +11,4 @@ RUN npm install FROM gcr.io/distroless/nodejs20-debian12 COPY --from=build-env /job /job WORKDIR /job -ENTRYPOINT ["job.mjs"] +CMD ["job.mjs"]