14 lines
No EOL
243 B
Docker
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 |