Merge pull request 'update docker-compose file and start up script.' (#7) from dev into master

Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2022-01-12 09:59:33 +00:00
+1 -1
View File
@@ -4,7 +4,7 @@ ENV PUB_HOSTED_URL="https://pub.flutter-io.cn"
ENV ANGEL_ENV=production ENV ANGEL_ENV=production
COPY ./ ./ COPY ./ ./
RUN pub get 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"] ENTRYPOINT ["dart", "bin/migrate.dart", "up"]
FROM scratch FROM scratch