From e5c65fe9e5b8e860d652ba964eb0b59176a58a06 Mon Sep 17 00:00:00 2001 From: Robert Goniszewski Date: Thu, 2 May 2024 13:20:57 +0200 Subject: [PATCH] fix: add missing 'wget' dependency, change CMD to ENTRYPOINT execution Signed-off-by: Robert Goniszewski --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 397fc30..59d76b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM node:20-slim AS base ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" RUN corepack enable -RUN apt-get update && apt-get install -y python3 python3-pip && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y python3 python3-pip wget && rm -rf /var/lib/apt/lists/* COPY . /app WORKDIR /app @@ -40,4 +40,4 @@ COPY --from=build /app/package.json /app/package.json COPY --from=base /app/pb_migrations /app/pb_migrations ENV NODE_ENV=production EXPOSE $PORT -CMD [ "node", "-r", "dotenv/config", "src/server.js" ] \ No newline at end of file +ENTRYPOINT [ "node", "-r", "dotenv/config", "src/server.js" ] \ No newline at end of file