feat: enhance sale invoices filtering with additional fields and refactor findAll method
This commit is contained in:
+5
-2
@@ -5,6 +5,7 @@ ARG NPM_REGISTRY=https://registry.npmjs.org/
|
||||
ENV NPM_CONFIG_REGISTRY=${NPM_REGISTRY}
|
||||
ENV npm_config_registry=${NPM_REGISTRY}
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PNPM_STORE_DIR="/pnpm/store"
|
||||
ENV PATH="${PNPM_HOME}:${PATH}"
|
||||
ENV COREPACK_NPM_REGISTRY=${NPM_REGISTRY}
|
||||
ARG PNPM_VERSION=10.17.1
|
||||
@@ -15,7 +16,8 @@ RUN npm config set registry ${NPM_REGISTRY} \
|
||||
FROM base AS build
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
ENV PRISMA_CLIENT_ENGINE_TYPE=binary
|
||||
@@ -24,7 +26,8 @@ RUN pnpm run build
|
||||
FROM base AS prod-deps
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN pnpm install --prod --frozen-lockfile \
|
||||
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
|
||||
pnpm install --prod --frozen-lockfile \
|
||||
&& pnpm store prune \
|
||||
&& rm -rf /root/.npm /root/.cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user