build: Fix dockerfile to build web app

pull/448/head^2
krille-chan 2 years ago
parent 214338ce56
commit ee19b1f359
No known key found for this signature in database

@ -3,7 +3,8 @@ RUN sudo apt update && sudo apt install curl -y
COPY . /app
WORKDIR /app
RUN ./scripts/prepare-web.sh
RUN ./scripts/build-web.sh
RUN flutter pub get
RUN flutter build web --release --source-maps
FROM docker.io/nginx:alpine
RUN rm -rf /usr/share/nginx/html

Loading…
Cancel
Save