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

This commit is contained in:
2022-01-12 16:23:41 +08:00
parent 58263f4548
commit 1a4530ba55
5 changed files with 50 additions and 31 deletions
+1
View File
@@ -5,6 +5,7 @@ ENV ANGEL_ENV=production
COPY ./ ./
RUN pub get
RUN dart compile exe bin/prod.dart -o /server
ENTRYPOINT ["dart", "bin/migrate.dart", "up"]
FROM scratch
WORKDIR /app