diff --git a/Dockerfile b/Dockerfile index b3b45dc22..ac9e36d45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM node:20-slim +RUN apt-get update && apt-get install -y make + ENV PNPM_HOME="/pnpm" ENV PATH="$PNPM_HOME:$PATH" @@ -9,7 +11,7 @@ RUN pnpm config set store-dir /home/node/.local/share/pnpm/store WORKDIR /app -COPY package.json pnpm-lock.yaml ./ -RUN pnpm install +COPY Makefile package.json pnpm-lock.yaml ./ +RUN make install RUN mkdir -p /app/src