This commit is contained in:
thosakwe 2017-01-14 19:42:06 -05:00
parent 018efc358c
commit 50fdd0af29

View file

@ -21,12 +21,12 @@ ADD web/ web/
ADD pubspec.yaml pubspec.yaml ADD pubspec.yaml pubspec.yaml
# Install dependencies, pre-build # Install dependencies, pre-build
RUN pub get RUN /usr/lib/dart/bin/pub get
RUN dart tool/build.dart RUN /usr/lib/dart/bin/dart tool/build.dart
RUN pub build RUN /usr/lib/dart/bin/pub build
# Set environment, start multi-server :) # Set environment, start multi-server :)
ENV ANGEL_ENV=production ENV ANGEL_ENV=production
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT ["dart"] ENTRYPOINT ["/usr/lib/dart/bin/dart"]
CMD ["bin/multi_server.dart"] CMD ["bin/multi_server.dart"]