From 84e989de7e76d057a548b6a7c1b20b1cd5e55107 Mon Sep 17 00:00:00 2001 From: Lucid Date: Sat, 6 Dec 2025 15:55:11 -0500 Subject: [PATCH] fix start command --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1a4cf0b..a4ea7ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,8 @@ RUN yarn install # --- Stage 2: Builder --- FROM node:20-alpine AS builder +RUN corepack enable +RUN corepack prepare yarn@stable --activate ARG DATABASE_URL ENV DATABASE_URL=${DATABASE_URL} RUN corepack enable @@ -20,6 +22,8 @@ RUN yarn build # --- Stage 3: Runner --- FROM node:20-alpine AS runner +RUN corepack enable +RUN corepack prepare yarn@stable --activate ARG DATABASE_URL ENV DATABASE_URL=${DATABASE_URL} RUN corepack enable @@ -30,4 +34,4 @@ COPY --from=builder /app/.yarn ./.yarn EXPOSE 3000 -CMD ["yarn", "start"] # Replace with your start command +CMD ["yarn", "start"]