diff --git a/template/crystal-http/Dockerfile b/template/crystal-http/Dockerfile index b322df7..3083090 100644 --- a/template/crystal-http/Dockerfile +++ b/template/crystal-http/Dockerfile @@ -8,9 +8,9 @@ RUN apk update && apk upgrade && apk add crystal shards openssl-dev ${ADDITIONAL WORKDIR /home/app -COPY . . COPY function/shard.yml shard.yml RUN shards install +COPY . . RUN crystal build main.cr -o handler -p && strip handler && rm -rf /root/.cache FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine as ship