platform/sample-project/Dockerfile
2018-12-31 11:14:18 -05:00

14 lines
No EOL
243 B
Docker

FROM google/dart:2.0
COPY ./ ./
# Install dependencies, pre-build
RUN pub get
# Optionally build generaed sources.
# RUN pub run build_runner build
# Set environment, start server
ENV ANGEL_ENV=production
EXPOSE 3000
CMD dart bin/prod.dart