blob: 434250137a4474011cae65d96224bbe3090be014 [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:45015b62a41e2c784a84f93294e909e191d0b794b7c4ff927ba4dda0e9ccefcf
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"]