Skip to content

Commit 69ce3e3

Browse files
authored
Update Dockerfile (#68)
1 parent 0e1e872 commit 69ce3e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ FROM jerson/flutter:web AS build-env
33
WORKDIR /app
44
COPY . .
55
RUN flutter upgrade
6-
RUN cd example && flutter build web
6+
RUN cd example && flutter build web --release
77

88
FROM nginx
99

1010
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
11+
COPY --from=build-env /app/example/build/web /usr/share/nginx/html

0 commit comments

Comments
 (0)