Skip to content

File modification time are changed after application is copied to /app #386

@jxltom

Description

@jxltom

Currently after coping application to /app during building in herokuish, original file modification time are all lost and time for coping will be used.

This may cause issue when running some commands in custom buildpack. Such as in default python buildpack, collectstatic command will be run and this command should collect static files which modificaiton time are older than existed ones.

But since original file modification time are lost, this command will collect all static files no matter they have been collected before or not.

Can we keep original file modification time during buidling, such as using cp -p?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions