From 4aec4c5cecdde9dbb1dedfb348c3bd0a2c350507 Mon Sep 17 00:00:00 2001 From: Tobe Osakwe Date: Wed, 29 May 2019 03:06:49 -0400 Subject: [PATCH 1/2] Create FUNDING.yml --- .github/FUNDING.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..ce3081f --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +# These are supported funding model platforms + +github: [thosakwe] From 8d2f0e9d021c55f918fc91198f77e04aa3b0dab2 Mon Sep 17 00:00:00 2001 From: fredtma Date: Thu, 26 Sep 2019 09:09:01 +0200 Subject: [PATCH 2/2] Change Dockerfile to use latest dart image I generated an application with `angel init` When running the application in a docker container, I get the error. `file:///root/.pub-cache/hosted/pub.dartlang.org/angel_configuration-2.1.0/lib/angel_configuration.dart:62:1: Error: 'Future' expects 0 type arguments.` This is due to the fact that *angel_configuration.dart* does not import 'dart:async'. This works when using the latest dart version. [see](https://github.com/dart-lang/sdk/issues/26162) [see](https://github.com/dart-lang/sdk/issues/34384) [see](https://github.com/dart-lang/sdk/issues/34237) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f9056de..c84bc87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM google/dart:2.0 +FROM google/dart:latest COPY ./ ./ @@ -11,4 +11,4 @@ RUN pub get # Set environment, start server ENV ANGEL_ENV=production EXPOSE 3000 -CMD dart bin/prod.dart \ No newline at end of file +CMD dart bin/prod.dart