From 6e5e2e5fc55f5ff1c78c41d0acbdcf82221fc2cf Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Thu, 28 Sep 2023 15:14:16 +0100 Subject: Prevent TSC errors from crashing Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 4f2e42b..2b3d1e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,7 @@ RUN npm install -g pnpm RUN pnpm install COPY . /app/ RUN cp config/config.example.toml config/config.toml -RUN pnpm run build +# Always exit 0 here because TSC will fail while we're migrating to TypeScript but +# not everything uses TypeScript +RUN pnpm run build; exit 0 CMD pnpm run start -- cgit v1.2.3