Ian Hickson | 1c19213 | 2023-11-29 13:06:56 -0800 | [diff] [blame] | 1 | # Copyright 2022 The Flutter Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | # Dart Docker official images can be found here: https://hub.docker.com/_/dart |
| 6 | FROM dart:beta@sha256:d19a5c7453c9ff7f977dfc6956a1a61042386c5572a4dcc249c5b3705b10d41f |
| 7 | |
| 8 | WORKDIR /app |
| 9 | |
| 10 | # Copy app source code (except anything in .dockerignore). |
| 11 | COPY . . |
| 12 | RUN dart pub get |
| 13 | |
| 14 | # Start server. |
| 15 | EXPOSE 8213 |
| 16 | CMD ["/usr/lib/dart/bin/dart", "/app/bin/triage_bot.dart"] |