Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Dockerfile example in "Deploying" chapter #2898

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

padenot
Copy link

@padenot padenot commented Jan 1, 2025

This now matches the layout of a typical project, instead of erroring out.

This now matches the layout of a typical project, instead of erroring out.
Comment on lines +266 to +267
COPY --from=build /build/stati[c] ./static/
COPY --from=build /build/template[s] ./templates/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these changes functional?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and no. They aren't strictly needed and generally if the fix on the previous line is applied, it will work the same, but if the next two lines are applied and not the first, the error message can change, maybe depending on the coreutils version one uses.

I don't feel strongly about this, I thought it was a touch clearer. The first line is the important fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants