Set up Dev and Prod enviroments and updae docker to build prod enviroment

This commit is contained in:
2024-07-11 15:17:34 +02:00
parent 8bf613801d
commit 1c7db86571
26 changed files with 79 additions and 17 deletions

View File

@@ -46,7 +46,7 @@ WORKDIR /app/
# RUN flutter pub add web:^0.5.0
# RUN flutter pub run pdfx:install_web
RUN flutter upgrade
RUN flutter build web
RUN flutter build web -t ./lib/main_prod.dart
# Record the exposed port
EXPOSE 8080