Show error traces when building
This commit is contained in:
parent
e17bd4e6aa
commit
bfe2029b2d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user