From 2fdc2c421e84f9bc746cec4f107891b0e97f4393 Mon Sep 17 00:00:00 2001 From: Szymon Uglis Date: Sat, 6 Nov 2021 18:02:22 +0100 Subject: [PATCH] Improve docker image size; Add lints package; Bump to 2.1.3 --- CHANGELOG.md | 4 ++++ Dockerfile | 7 +++---- pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 232542d..b78d31a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.3 + +- Improve docker image size + ## 2.1.2 - Improve docker image size diff --git a/Dockerfile b/Dockerfile index 045a978..1d519ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,9 @@ RUN pub get --offline RUN dart compile exe bin/running_on_dart.dart -FROM ubuntu -WORKDIR /app +FROM subfuzion/dart:slim +WORKDIR /app COPY --from=builder /app/bin/running_on_dart.exe /app -CMD [] -ENTRYPOINT [ "./running_on_dart.exe" ] +CMD [ "./running_on_dart.exe" ] diff --git a/pubspec.yaml b/pubspec.yaml index 8676cc7..1248eff 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: running_on_dart -version: 2.1.2 +version: 2.1.3 description: Discord Bot for nyxx development homepage: https://github.com/nyxx-discord/running_on_dart repository: https://github.com/nyxx-discord/running_on_dart