0

Update apps/api/Dockerfile
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 27s

This commit is contained in:
Nikolai X. Shadeuxs 2024-06-19 04:25:00 -04:00
parent c8edef5853
commit 47f268ed07

View File

@ -9,10 +9,11 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./ COPY package.json pnpm-lock.yaml ./
FROM base AS prod-deps FROM base AS prod-deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile RUN pnpm install --prod --frozen-lockfile
FROM base AS build FROM base AS build
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . . COPY . .
RUN pnpm run build RUN pnpm run build