Skip to content

Bad Dockerfile example in deployment docs #3868

Description

@CCXLV

Current example of Dockerfile in docs is actually a really bad approach. According to it the built image includes the whole Fresh app source code which is not very ideal in production environments.

I'm suggesting providing a better example with multiple stages: build and runtime, then copying all the necessary directories that are needed for Fresh to function in the final image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions