wip: update docker-compose file and start up script.

pull/7/head
DebuggerX 3 years ago
parent 1a4530ba55
commit 7531702f1b

@ -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

Loading…
Cancel
Save