Skip to content

Commit

Permalink
fix: add missing 'wget' dependency, change CMD to ENTRYPOINT execution
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Goniszewski <robertgoniszewski@outlook.com>
  • Loading branch information
goniszewski committed May 2, 2024
1 parent 0825026 commit e5c65fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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" ]
ENTRYPOINT [ "node", "-r", "dotenv/config", "src/server.js" ]

0 comments on commit e5c65fe

Please sign in to comment.