Update apps/api/Dockerfile
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5m3s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5m3s
This commit is contained in:
parent
7127dadae3
commit
7f715790b9
@ -3,15 +3,17 @@ ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
LABEL fly_launch_runtime="Node.js"
|
||||
RUN corepack enable
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
FROM base AS prod-deps
|
||||
COPY /cache /pnpm/store
|
||||
COPY apps/api/package.json apps/api/pnpm-lock.yaml ./
|
||||
RUN pnpm install --prod --frozen-lockfile
|
||||
|
||||
FROM base AS build
|
||||
COPY /cache /pnpm/store
|
||||
COPY apps/api/package.json apps/api/pnpm-lock.yaml ./
|
||||
COPY . .
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm run build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user