Updated Docker

This commit is contained in:
thosakwe 2017-01-14 19:25:33 -05:00
parent 05161108d9
commit 5f1fb992b0
2 changed files with 4 additions and 3 deletions

View file

@ -27,5 +27,6 @@ RUN pub build
# Set environment, start multi-server :)
ENV ANGEL_ENV=production
EXPOSE 80
RUN dart bin/multi_server.dart
EXPOSE 3000
ENTRYPOINT ["dart"]
CMD ["bin/multi_server.dart"]

View file

@ -30,7 +30,7 @@ main() async {
});
var host = InternetAddress.ANY_IP_V4;
var port = 80;
var port = 3000;
var server = await app.startServer(host, port);
print('Listening at http://${server.address.address}:${server.port}');
}