diff --git a/Changes b/Changes index d5f9ec543..05df49e4a 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ * GH #1611: Redirect '/' doesn't always work as expected (Russell @veryrusty Jenkins, Christopher Gurnee) * PR #1620: Quiet spammy failing CI builds (Jason A. Crome) + * PR #1623: Copy Dockerfile from the right spot (Jason A. Crome) [ ENHANCEMENTS ] * PR #1613: Add git features to Dancer2 CLI (Jason A. Crome) diff --git a/lib/Dancer2/CLI/Gen.pm b/lib/Dancer2/CLI/Gen.pm index 099e6357e..2571b17d0 100644 --- a/lib/Dancer2/CLI/Gen.pm +++ b/lib/Dancer2/CLI/Gen.pm @@ -149,7 +149,7 @@ sub run { } if( $self->docker ) { - push @$files_to_copy, [ path( $self->skel, 'docker/Dockerfile' ), "$app_name/Dockerfile" ]; + push @$files_to_copy, [ path( $self->parent_command->_dist_dir, 'docker/Dockerfile' ), "$app_name/Dockerfile" ]; } my $vars = {