blob: 69f3e92ea6f5933ce81588ece8905e64223eee4d [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:486c7ba145a3c9ce8a10d31823c40b34e732276c5105ec4991a4cf9bf68f0068
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"]