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
Project ID:
12664e81-a9ed-4016-b091-9967e721adde
Project ID: 12664e81-a9ed-4016-b091-9967e721adde
please provide your dockerfile
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"]
remove the syntax stuff?
Actually it's not the problem, because sometimes it will success, I will try it though.