FROM fascinated/docker-images:node-pnpm-latest WORKDIR /usr/src/app # Copy root package.json and lockfile COPY package.json ./ COPY pnpm-lock.yaml ./ # Copy the proxy package.json COPY apps/proxy/package.json ./apps/proxy/package.json RUN pnpm install # Copy app source COPY . . EXPOSE 3000 CMD [ "nnpm", "apps/proxy/index.js" ]