Add Gitea deployment workflow
All checks were successful
Build and deploy Flutter Web / build (push) Successful in 10m22s
All checks were successful
Build and deploy Flutter Web / build (push) Successful in 10m22s
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user