We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e599ef2 + 9e3c1a2 commit 75796bfCopy full SHA for 75796bf
doc/Dockerfile
@@ -23,17 +23,11 @@ RUN --mount=type=cache,target=/mise/cache \
23
mise trust && \
24
mise install flutter
25
26
-# Resolve app dependencies
27
-COPY pubspec.* ./
28
-RUN --mount=type=cache,target=/root/.pub-cache \
29
- flutter --disable-analytics && \
30
- flutter pub get --enforce-lockfile
31
-
32
-# Copy app source code
+# Resolve app dependencies and generate documentation
33
COPY . .
34
35
-# Generate documentation
36
RUN --mount=type=cache,target=/root/.pub-cache \
+ flutter --disable-analytics && \
+ flutter pub get --enforce-lockfile && \
37
dart doc
38
39
FROM caddy:2-alpine@sha256:4c6e91c6ed0e2fa03efd5b44747b625fec79bc9cd06ac5235a779726618e530d
0 commit comments