fix: base directory not found

This commit is contained in:
Andras Bacsai
2023-03-02 16:52:55 +01:00
parent 3ae1e7e87d
commit 6f15cc2dbc
10 changed files with 10 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ const createDockerfile = async (data, image): Promise<void> => {
});
}
if (buildCommand) {
Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app/${publishDirectory} ./`);
Dockerfile.push(`COPY --from=${applicationId}:${tag}-cache /app/ ./`);
} else {
Dockerfile.push(`COPY .${baseDirectory || ''} ./`);
}