Update apps/api/Dockerfile
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 27s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 27s
This commit is contained in:
parent
c8edef5853
commit
47f268ed07
@ -9,10 +9,11 @@ WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
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
|
||||
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 . .
|
||||
RUN pnpm run build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user