feat: change api framework to angel3.

This commit is contained in:
2021-12-17 18:24:32 +08:00
parent 8face6f724
commit ed863ecb41
39 changed files with 1008 additions and 368 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM google/dart:latest
COPY ./ ./
# Install dependencies, pre-build
RUN pub get
# Optionally build generaed sources.
# RUN pub run build_runner build
# Set environment, start server
ENV ANGEL_ENV=production
EXPOSE 3000
CMD dart bin/prod.dart