Add Gitea deployment workflow
All checks were successful
Build and deploy Flutter Web / build (push) Successful in 10m22s

This commit is contained in:
Ruslan Bakiev
2026-05-08 12:19:51 +07:00
parent 597a660756
commit 161c4f02d2
4 changed files with 96 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM ghcr.io/cirruslabs/flutter:stable AS build
WORKDIR /app
COPY pubspec.* ./
RUN flutter pub get
COPY . .
RUN flutter build web --release
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/build/web /usr/share/nginx/html
EXPOSE 80