From 34ac1480d3b3be87df4d9046b68c6891b86c84e8 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sat, 9 May 2020 17:45:46 +0200 Subject: [PATCH] Upgraded Dart version, better Dockerfile and renamed project MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dart is now upgraded to version 2.8 Any change in dependencies or Dart tooling won’t trigger Docker to reinstall anything Ruby-related in the image afterward Name of the Dart package and its homepage were changed, forgot to do that --- Dockerfile | 14 ++++++++------ pubspec.yaml | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6780ded..cb7e2b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,11 @@ -FROM google/dart:2.7 +FROM google/dart:2.8 WORKDIR /app +# Get Ruby Sass +RUN apt update && apt install ruby-sass ruby-dev build-essential -y +RUN gem install sass-listen + # Get Dart dependencies RUN mkdir -p /pub-cache ENV PUB_CACHE=/pub-cache @@ -11,10 +15,8 @@ ADD pubspec.* /app/ RUN pub get RUN pub get --offline -# Get Ruby Sass -RUN apt update && apt install ruby-sass ruby-dev build-essential -y -RUN gem install sass-listen - -ADD . /app/ +# ADD . /app/ +ADD web /app/ +ADD start.sh /app/ CMD ["./start.sh"] diff --git a/pubspec.yaml b/pubspec.yaml index 96b0265..54ef550 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ -name: languephundrakcom -description: A bare-bone server for my linguistics website. +name: orgwebsitebackend +description: A bare-bone server for org-generated websites. version: 1.0.0 -homepage: https://langue.phundrak.com +homepage: https://labs.phundrak.com/phundrak/org-website-backend author: Lucien Cartier-Tilet environment: