Created
October 4, 2019 08:04
-
-
Save pmundt/3edcc9fa2f7739921574023e0a2abb7b to your computer and use it in GitHub Desktop.
Dockerfile for JIT compilation of server-side app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM google/dart | |
WORKDIR /app | |
ADD pubspec.* /app/ | |
RUN pub get | |
ADD . /app | |
RUN pub get --offline | |
CMD [] | |
ENTRYPOINT ["/usr/bin/dart", "bin/server.dart"] | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment