Skip to content

Commit c275c5d

Browse files
authored
Update Dockerfile (#69)
1 parent b8e3dce commit c275c5d

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)