Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 | |
| OLD | NEW |