docker build wasn web app
This commit is contained in:
parent
f9c71b656e
commit
8c05168c08
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ WORKDIR /app
|
||||||
COPY pubspec.yaml pubspec.lock ./
|
COPY pubspec.yaml pubspec.lock ./
|
||||||
RUN flutter pub get
|
RUN flutter pub get
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN flutter build web --release -t ./lib/main_prod.dart -v
|
RUN flutter build web --wasm --release -t ./lib/main_prod.dart -v
|
||||||
|
|
||||||
# --- STAGE 2: The Final Production Image ---
|
# --- STAGE 2: The Final Production Image ---
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue