From 7531702f1bf3986609da89c45f5fcc2b1c53e1b9 Mon Sep 17 00:00:00 2001 From: debuggerx Date: Wed, 12 Jan 2022 17:58:42 +0800 Subject: [PATCH] wip: update docker-compose file and start up script. --- api/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 2d8d4cb..3c25493 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -4,7 +4,7 @@ ENV PUB_HOSTED_URL="https://pub.flutter-io.cn" ENV ANGEL_ENV=production COPY ./ ./ RUN pub get -RUN dart compile exe bin/prod.dart -o /server +RUN bash source_gen.sh && dart compile exe bin/prod.dart -o /server ENTRYPOINT ["dart", "bin/migrate.dart", "up"] FROM scratch