From ebb0faa4ec7608004f379bec4b268599eb96e2ac Mon Sep 17 00:00:00 2001 From: Tobe O Date: Thu, 19 Oct 2017 18:02:11 -0400 Subject: [PATCH] Docker update --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f26219f1..cf64b4e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ FROM ubuntu:14.04 MAINTAINER Tobe O -# Install Dart SDK 1.21.0 +# Install Dart SDK 1.24.2 RUN sudo apt-get update RUN sudo apt-get install -y apt-transport-https RUN sudo apt-get install -y curl RUN sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' RUN sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' RUN sudo apt-get update -RUN sudo apt-get install -y dart=1.21.0-1 +RUN sudo apt-get install -y dart=1.24.2-1 RUN export PATH="/usr/lib/dart/bin:$PATH" # Copy necessary files @@ -25,8 +25,8 @@ RUN /usr/lib/dart/bin/pub get RUN /usr/lib/dart/bin/dart tool/build.dart RUN /usr/lib/dart/bin/pub build -# Set environment, start multi-server :) +# Set environment, start server ENV ANGEL_ENV=production EXPOSE 3000 ENTRYPOINT ["/usr/lib/dart/bin/dart"] -CMD ["bin/multi_server.dart"] \ No newline at end of file +CMD ["bin/prod.dart"] \ No newline at end of file