mod login signin design

This commit is contained in:
2026-01-26 12:46:17 +01:00
parent d5b8df9506
commit 3990a8a34e
10 changed files with 305 additions and 93 deletions

View File

@@ -20,19 +20,21 @@ ENV FLUTTER_HOME=/usr/local/flutter
ENV PATH="${FLUTTER_HOME}/bin:${PATH}"
RUN git clone https://github.com/flutter/flutter.git ${FLUTTER_HOME} -b stable --depth 1 && \
flutter config --enable-web && \
flutter precache --web
flutter config --enable-web --no-analytics && \
flutter doctor -v
# Set working directory
WORKDIR /app
# Copy app files
COPY pubspec.yaml pubspec.lock ./
# Run pub get (downloads web dependencies without needing gradle)
RUN flutter pub get
COPY . .
# Build web app
# Build web app (downloads web artifacts on-demand without gradle)
RUN flutter build web --release --web-renderer canvaskit
# Production stage - Nginx