We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1e872 commit 69ce3e3Copy full SHA for 69ce3e3
example/Dockerfile
@@ -3,9 +3,9 @@ FROM jerson/flutter:web AS build-env
3
WORKDIR /app
4
COPY . .
5
RUN flutter upgrade
6
-RUN cd example && flutter build web
+RUN cd example && flutter build web --release
7
8
FROM nginx
9
10
COPY --from=build-env /app/example/docker/nginx.conf /etc/nginx/nginx.conf
11
-COPY --from=build-env /app/example/build/web /usr/share/nginx/html
+COPY --from=build-env /app/example/build/web /usr/share/nginx/html
0 commit comments