mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 07:05:15 +00:00
build: Fix dockerfile to build web app
This commit is contained in:
parent
214338ce56
commit
ee19b1f359
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue