Skip to content

Commit

Permalink
build: Fix dockerfile to build web app
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Jul 24, 2023
1 parent 214338c commit ee19b1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ee19b1f

Please sign in to comment.