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

Unified 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: Update Dart version and dart-hello readme Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « hello/web/index.html ('k') | runtime/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/Dockerfile
diff --git a/runtime/Dockerfile b/runtime/Dockerfile
new file mode 100644
index 0000000000000000000000000000000000000000..800043f1ccc690ce97b771895f74ad96bb9477ce
--- /dev/null
+++ b/runtime/Dockerfile
@@ -0,0 +1,12 @@
+FROM google/dart
+
+WORKDIR /app
+ONBUILD ADD pubspec.yaml /app/
+ONBUILD ADD pubspec.lock /app/
+ONBUILD RUN pub get
+ONBUILD ADD . /app
+ONBUILD RUN pub get
+
+CMD []
+ENTRYPOINT ["/usr/bin/dart", "/app/bin/server.dart"]
+EXPOSE 8080
« no previous file with comments | « hello/web/index.html ('k') | runtime/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698