Skip to content
Triggered via push October 24, 2024 05:06
Status Failure
Total duration 1m 29s
Artifacts

viteToHeroku.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
build
Error: Command failed: heroku container:push web --app foodoasisvite › Warning: heroku update available from 9.3.1 to 9.3.2. #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 1.35kB done #1 DONE 0.0s #2 [internal] load metadata for docker.io/library/node:lts-bullseye-slim #2 DONE 0.1s #3 [internal] load .dockerignore #3 transferring context: 114B done #3 DONE 0.0s #4 [clientbuilder 1/9] FROM docker.io/library/node:lts-bullseye-slim@sha256:9b558df8f10198fcd1f48cf344c55c4442c3446b8a9a69487523b3d890a4a59e #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 32.39kB 0.0s done #5 DONE 0.0s #6 [clientbuilder 7/9] COPY client . #6 CACHED #7 [clientbuilder 5/9] COPY client/package-lock.json . #7 CACHED #8 [clientbuilder 6/9] RUN npm ci #8 CACHED #9 [clientbuilder 3/9] WORKDIR /app #9 CACHED #10 [clientbuilder 4/9] COPY client/package.json . #10 CACHED #11 [clientbuilder 2/9] RUN mkdir /app #11 CACHED #12 [clientbuilder 8/9] RUN npm run build #12 CACHED #13 [clientbuilder 9/9] RUN echo package.json #13 CACHED #14 [serverbuilder 5/13] RUN mkdir build #14 CACHED #15 [serverbuilder 4/13] WORKDIR /usr/src/app #15 CACHED #16 [serverbuilder 7/13] COPY ./server/package.json ./ #16 CACHED #17 [serverbuilder 6/13] COPY ./server/tsconfig.json ./ #17 CACHED #18 [serverbuilder 11/13] COPY ./server/app/ ./app #18 CACHED #19 [serverbuilder 2/13] WORKDIR /usr/src #19 CACHED #20 [stage-2 4/9] COPY ./server/package-lock.json ./ #20 CACHED #21 [stage-2 5/9] RUN npm ci --quiet #21 CACHED #22 [serverbuilder 9/13] COPY ./server/middleware/ ./middleware #22 CACHED #23 [stage-2 3/9] COPY ./server/package.json ./ #23 CACHED #24 [serverbuilder 12/13] COPY ./server/server.ts ./ #24 CACHED #25 [serverbuilder 10/13] COPY ./server/types/ ./types #25 CACHED #26 [stage-2 2/9] WORKDIR /fola #26 CACHED #27 [stage-2 6/9] COPY --from=serverBuilder /usr/src/app/build ./ #27 CACHED #28 [serverbuilder 8/13] COPY ./server/package-lock.json ./ #28 CACHED #29 [serverbuilder 13/13] RUN npm ci --quiet && npm run build #29 CACHED #30 [serverbuilder 3/13] COPY tsconfig.json ./ #30 CACHED #31 [stage-2 7/9] COPY ./server/uploads ./uploads #31 CACHED #32 [stage-2 8/9] COPY --from=clientBuilder /app/build ./client/build #32 ERROR: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::6nslthxv5qgomkbwy1rp9j85l: "/app/build": not found ------ > [stage-2 8/9] COPY --from=clientBuilder /app/build ./client/build: ------ Dockerfile:46 -------------------- 44 | COPY --from=serverBuilder /usr/src/app/build ./ 45 | COPY ./server/uploads ./uploads 46 | >>> COPY --from=clientBuilder /app/build ./client/build 47 | 48 | # we don't want to run as sudo so create group and user -------------------- ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref c1b9ef7f-d976-4aab-8ad3-206a8fe6dbce::6nslthxv5qgomkbwy1rp9j85l: "/app/build": not found › Error: docker build exited with Error: 1
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, akhileshns/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/