Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: runtime/Dockerfile

Issue 367903008: Create a set of Dart dockerfiles (Closed) Base URL: https://github.com/dart-lang/dart_docker.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 FROM google/dart
2
3 WORKDIR /app
4 ONBUILD ADD pubspec.yaml /app/
5 ONBUILD ADD pubspec.lock /app/
6 ONBUILD ENV PUB_CACHE /var/cache/pub
proppy 2014/07/02 20:55:55 can we move that to the google/dart image?
Søren Gjesse 2014/07/03 10:36:41 Yes - but maybe we don't need it after all.
7 ONBUILD RUN /usr/lib/dart/bin/pub get
8 ONBUILD ADD . /app
9 ONBUILD RUN /usr/lib/dart/bin/pub get
proppy 2014/07/02 20:55:55 maybe we can get rid of that if we suggest adding
kustermann 2014/07/03 09:40:05 I think Soeren did this in order to cause less doc
Søren Gjesse 2014/07/03 10:36:41 Yes the first invocation of 'RUN /usr/lib/dart/bin
Søren Gjesse 2014/07/03 10:36:41 Yes.
10
11 CMD []
12 ENTRYPOINT ["/usr/bin/dart", "/app/bin/server.dart"]
13 EXPOSE 8080
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698