Add an API to reset the password

This commit is contained in:
2024-05-22 13:03:44 +02:00
parent 20b2f7df0a
commit 469381f595
9 changed files with 242 additions and 30 deletions

View File

@ -1,7 +1,4 @@
# Environemnt to install flutter and build web
FROM debian:latest AS build-env
# install all needed stuff
RUN apt-get update
RUN apt-get install -y curl tar xz-utils git
@ -13,12 +10,11 @@ ARG APP=/app/
RUN curl -l -o /tmp/flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}-stable.tar.xz
RUN tar -xf /tmp/flutter.tar.xz -C /usr/local
ENV PATH="$FLUTTER_SDK/bin:$FLUTTER_SDK/bin/cache/dart-sdk/bin:${PATH}"
RUN mkdir $APP
COPY . $APP
WORKDIR $APP
COPY . $APP
RUN flutter build web --release
# once heare the app will be compiled and ready to deploy