summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2023-09-28 15:14:16 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2023-09-28 15:14:16 +0100
commit6e5e2e5fc55f5ff1c78c41d0acbdcf82221fc2cf (patch)
tree7f181b01236243c92c7c3e4e3fe710660f5576e0
parent30c02f481caf5a61275dde769e4721ba87030773 (diff)
Prevent TSC errors from crashing Dockerfile
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
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