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