This file contains hidden or 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 abc import ABC, abstractmethod | |
| from datetime import timedelta | |
| class A1(ABC): | |
| _value = "A1" | |
| def __init__(self): | |
| print("A1 type at init:", type(self._value)) | |
| def test_value(self): |
This file contains hidden or 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.6-dev AS dart-runtime | |
| WORKDIR /app | |
| ADD pubspec.* /app/ | |
| RUN pub get | |
| ADD bin /app/bin/ | |
| ADD lib /app/lib/ | |
| RUN pub get --offline | |
| RUN dart2native /app/bin/server.dart -o /app/server |
This file contains hidden or 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 AS dart-runtime | |
| WORKDIR /app | |
| ADD pubspec.* /app/ | |
| RUN pub get | |
| ADD bin /app/bin/ | |
| ADD lib /app/lib/ | |
| RUN pub get --offline | |
| RUN dart2aot /app/bin/server.dart /app/server.aot |
This file contains hidden or 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 [] |
NewerOlder