Updated Docker
This commit is contained in:
parent
05161108d9
commit
5f1fb992b0
2 changed files with 4 additions and 3 deletions
|
@ -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"]
|
|
@ -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}');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue