Skip to content

Commit

Permalink
chore(dockerfile): add
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenguyenxyz committed Mar 3, 2021
1 parent 5432f70 commit ae4dddb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit ae4dddb

Please sign in to comment.