From 067432eda9d5df09c5e9c2abfc3b7178563ba1c7 Mon Sep 17 00:00:00 2001 From: a Date: Sat, 1 Mar 2025 15:34:38 -0600 Subject: [PATCH] noot --- ts/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/Dockerfile b/ts/Dockerfile index 867d98c..552935d 100644 --- a/ts/Dockerfile +++ b/ts/Dockerfile @@ -11,12 +11,12 @@ RUN npm i -g tsx USER 1000:1000 WORKDIR /app +## copy the necessary files after pulling deps COPY --from=builder /build/node_modules node_modules COPY tsconfig.json package.json cli .yarnrc.yml yarn.lock . COPY src src -# make sure it passes compilation before compiling +# make sure it passes compilation before publishing image RUN corepack yarn tsc - ENTRYPOINT ["/app/cli"]