All checks were successful
Build and deploy Flutter Web / build (push) Successful in 10m22s
12 lines
276 B
Docker
12 lines
276 B
Docker
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
|