diff --git a/Dockerfile b/Dockerfile index e19083f..8674ab8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,5 +27,6 @@ RUN pub build # Set environment, start multi-server :) ENV ANGEL_ENV=production -EXPOSE 80 -RUN dart bin/multi_server.dart \ No newline at end of file +EXPOSE 3000 +ENTRYPOINT ["dart"] +CMD ["bin/multi_server.dart"] \ No newline at end of file diff --git a/bin/multi_server.dart b/bin/multi_server.dart index 688fd5e..7744ea0 100644 --- a/bin/multi_server.dart +++ b/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}'); }