--release builds

This commit is contained in:
FireMasterK 2021-01-09 20:29:33 +05:30 committed by GitHub
parent ba148d749f
commit 588dd4684d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ COPY ./src/ ./src/
# See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION.
COPY ./.git/ ./.git/
RUN crystal build ./src/invidious.cr \
--static --warnings all \
--release --static --warnings all \
--link-flags "-lxml2 -llzma"
FROM alpine:latest