Upgraded Dart version, better Dockerfile and renamed project
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
This commit is contained in:
parent
fc1556128c
commit
34ac1480d3
14
Dockerfile
14
Dockerfile
@ -1,7 +1,11 @@
|
|||||||
FROM google/dart:2.7
|
FROM google/dart:2.8
|
||||||
|
|
||||||
WORKDIR /app
|
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
|
# Get Dart dependencies
|
||||||
RUN mkdir -p /pub-cache
|
RUN mkdir -p /pub-cache
|
||||||
ENV PUB_CACHE=/pub-cache
|
ENV PUB_CACHE=/pub-cache
|
||||||
@ -11,10 +15,8 @@ ADD pubspec.* /app/
|
|||||||
RUN pub get
|
RUN pub get
|
||||||
RUN pub get --offline
|
RUN pub get --offline
|
||||||
|
|
||||||
# Get Ruby Sass
|
# ADD . /app/
|
||||||
RUN apt update && apt install ruby-sass ruby-dev build-essential -y
|
ADD web /app/
|
||||||
RUN gem install sass-listen
|
ADD start.sh /app/
|
||||||
|
|
||||||
ADD . /app/
|
|
||||||
|
|
||||||
CMD ["./start.sh"]
|
CMD ["./start.sh"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: languephundrakcom
|
name: orgwebsitebackend
|
||||||
description: A bare-bone server for my linguistics website.
|
description: A bare-bone server for org-generated websites.
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
homepage: https://langue.phundrak.com
|
homepage: https://labs.phundrak.com/phundrak/org-website-backend
|
||||||
author: Lucien Cartier-Tilet <lucien@phundrak.com>
|
author: Lucien Cartier-Tilet <lucien@phundrak.com>
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
Reference in New Issue
Block a user