Created
August 8, 2019 02:13
-
-
Save zolotyh/016024c9e1484db6113ad0e53b9acb68 to your computer and use it in GitHub Desktop.
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:2.4 | |
WORKDIR /app | |
ADD pubspec.* /app/ | |
ENV PATH="$PATH":"$HOME/.pub-cache/bin" | |
RUN pub global activate webdev | |
RUN pub get | |
ADD . /app | |
RUN pub get --offline | |
EXPOSE 8080/tcp | |
CMD [] | |
ENTRYPOINT ["/root/.pub-cache/bin/webdev", "serve"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment