protevus/Dockerfile

15 lines
247 B
Docker
Raw Permalink Normal View History

FROM google/dart:latest
2017-01-15 00:15:20 +00:00
2018-12-28 02:14:42 +00:00
COPY ./ ./
2017-01-15 00:15:20 +00:00
# Install dependencies, pre-build
2018-12-28 02:14:42 +00:00
RUN pub get
# Optionally build generaed sources.
# RUN pub run build_runner build
2017-01-15 00:15:20 +00:00
2017-10-19 22:02:11 +00:00
# Set environment, start server
2017-01-15 00:15:20 +00:00
ENV ANGEL_ENV=production
2017-01-15 00:25:33 +00:00
EXPOSE 3000
CMD dart bin/prod.dart