blob: 7b836dd5d92514f49656de8f5a816d64bd3b072b [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:9fa643606ff56e8837b342f4300e360267de82a0a6cc5e5ed265120aa1a5aa30
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"]