Re add --release option in Dockerfile

This commit is contained in:
syeopite 2021-05-30 11:50:52 -07:00
parent c4da7f353f
commit 67a99e2c3b
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

View File

@ -3,7 +3,7 @@ WORKDIR /app
COPY ./shard.yml ./shard.yml
RUN shards install
COPY ./src/ ./src/
RUN crystal build ./src/instances.cr -s -p -t
RUN crystal build ./src/instances.cr --release
FROM alpine:latest
RUN apk add --no-cache gc pcre libgcc yaml