Add an API to reset the password
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user