Skip to content

Commit

Permalink
fix: ts config missing from the build (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
callicles authored Sep 25, 2024
1 parent 8c9b246 commit f881a89
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/framework-cli/src/cli/routines/docker_packager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ pub fn create_dockerfile(project: &Project) -> Result<RoutineSuccess, RoutineFai
let install = DOCKER_FILE_COMMON
.replace(
"COPY_PACKAGE_FILE",
"COPY --chown=moose:moose ./package.json ./package.json",
r#"
COPY --chown=moose:moose ./package.json ./package.json
COPY --chown=moose:moose ./tsconfig.json ./tsconfig.json
"#,
)
// We should get compatible with other package managers
// and respect log files
Expand Down Expand Up @@ -269,7 +272,7 @@ pub fn build_dockerfile(
// so we set it to a recent version for the purpose of local dev testing.
let mut cli_version = constants::CLI_VERSION;
if cli_version == "0.0.1" {
cli_version = "0.3.625";
cli_version = "0.3.626";
}

let build_all = is_amd64 == is_arm64;
Expand Down

0 comments on commit f881a89

Please sign in to comment.