From bfe2029b2d39ad2279b620c0a55216cbd3d2f6a1 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Sun, 4 Jun 2023 15:29:40 -0300 Subject: [PATCH] Show error traces when building --- template/crystal-http/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/crystal-http/Dockerfile b/template/crystal-http/Dockerfile index 3083090..d2357bc 100644 --- a/template/crystal-http/Dockerfile +++ b/template/crystal-http/Dockerfile @@ -11,7 +11,7 @@ WORKDIR /home/app COPY function/shard.yml shard.yml RUN shards install COPY . . -RUN crystal build main.cr -o handler -p && strip handler && rm -rf /root/.cache +RUN crystal build main.cr -o handler --error-trace -p && rm -rf /root/.cache FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine as ship ARG ADDITIONAL_PACKAGE