diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f07e289 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM crystallang/crystal:0.36.1-alpine +WORKDIR /app + +COPY shard.yml /app +COPY shard.override.yml /app +RUN shards install + +COPY spec /app/spec +COPY src /app/src + +RUN crystal tool format --check +RUN crystal lib/ameba/bin/ameba.cr + +ENTRYPOINT ["crystal", "spec", "--error-trace", "-v"] \ No newline at end of file