generated from moevm/nsql-clean-tempate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42eec7d
commit 7ae9a97
Showing
4 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
flutter_front/lib/features/statistics/domain/usecases/get_equipment_warnings_statistics.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
flutter_front/lib/features/statistics/domain/usecases/get_equipment_working_percentage.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
flutter_front/lib/features/statistics/domain/usecases/get_statistic_working_percentage.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM debian:latest AS build-env | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6 python3 sed && \ | ||
apt-get clean | ||
|
||
RUN git clone https://github.com/flutter/flutter.git /usr/local/flutter | ||
|
||
ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}" | ||
|
||
RUN flutter doctor | ||
|
||
RUN flutter channel stable | ||
RUN flutter upgrade | ||
RUN flutter config --enable-web | ||
|
||
WORKDIR /app | ||
COPY ./flutter_front . | ||
RUN flutter build web | ||
|
||
FROM nginx:stable-alpine | ||
COPY --from=build-env /app/build/web /usr/share/nginx/html | ||
|
||
COPY nginx.conf /etc/nginx/conf.d/default.conf | ||
|
||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |