blob: c6c751a020f185bfc2026fa5e5eedaffaa79e4b6 [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:8908ea48041319fd2ee7a378a71123e72f200c62a88a7bcae5988f3dc886c46a
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"]