From 599d5ee17fb1435b3f1a240a968d295f5f431d5e Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Wed, 1 Jan 2025 18:21:18 +0100 Subject: [PATCH] Fix Dockerfile example in "Deploying" chapter This now matches the layout of a typical project, instead of erroring out. --- docs/guide/11-deploying.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/11-deploying.md b/docs/guide/11-deploying.md index 245683cc..8bdd4f8a 100644 --- a/docs/guide/11-deploying.md +++ b/docs/guide/11-deploying.md @@ -262,9 +262,9 @@ WORKDIR /app COPY --from=build /build/main ./ ## copy runtime assets which may or may not exist -COPY --from=build /build/Rocket.tom[l] ./static -COPY --from=build /build/stati[c] ./static -COPY --from=build /build/template[s] ./templates +COPY --from=build /build/Rocket.tom[l] ./ +COPY --from=build /build/stati[c] ./static/ +COPY --from=build /build/template[s] ./templates/ ## ensure the container listens globally on port 8080 ENV ROCKET_ADDRESS=0.0.0.0