R
Railway17mo ago
cigaret

docker build stage always fail, manually Redeploy works

========================= Using Detected Dockerfile =========================  context: 7bb49d155153d8574a54be210228228c #1 [internal] load .dockerignore #1 transferring context: 117B done  #1 DONE 0.2s  #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 258B done #2 DONE 0.2s   #3 resolve image config for docker.io/docker/dockerfile:1  #3 DONE 0.3s   #4 docker-image://docker.io/docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14 #4 CACHED  Dockerfile:1 ------------------- 1 | >>> # syntax=docker/dockerfile:1 2 | 3 | FROM node:18 ------------------- ERROR: failed to solve: unlazy requires an applier
6 Replies
Percy
Percy17mo ago
Project ID: 12664e81-a9ed-4016-b091-9967e721adde
cigaret
cigaretOP17mo ago
Project ID: 12664e81-a9ed-4016-b091-9967e721adde
Brody
Brody17mo ago
please provide your dockerfile
cigaret
cigaretOP17mo ago
Hey thanks for your reply, here is the dockerfile: syntax=docker/dockerfile:1 FROM node:18-alpine AS build LABEL authors="cigaret" LABEL email="[email protected]" WORKDIR /app-root COPY ./ . RUN corepack enable \ && pnpm install \ && pnpm run --filter @planet-matrix/planet-matrix^... build \ && cd apps/planet-matrix \ && pnpm run build WORKDIR /app-root/apps/planet-matrix CMD ["pnpm", "run", "start"]
Brody
Brody17mo ago
remove the syntax stuff?
cigaret
cigaretOP17mo ago
Actually it's not the problem, because sometimes it will success, I will try it though.
Want results from more Discord servers?
Add your server