blob: 3c155c3ef7917a6bab3894ff0756c559763d9f87 [file] [log] [blame]
# Copyright 2022 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Dart Docker official images can be found here: https://hub.docker.com/_/dart
FROM dart:beta@sha256:15fe6c1695bcc7633f212499dd41af052ddf4303d87fecc7224b8b137e4ae0b9
WORKDIR /app
# Copy app source code (except anything in .dockerignore).
COPY . .
RUN dart pub get
# Start server.
EXPOSE 8080
CMD ["/usr/lib/dart/bin/dart", "/app/bin/server.dart"]