mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-29 00:02:16 +00:00
fix(build): set default railpackVersion to '0.2.2' and ensure cleanup in build process
- Updated the ShowBuildChooseForm component to default railpackVersion to '0.2.2' if not specified. - Added cleanup step in the buildRailpack function to remove the builder container after execution. - Refactored application router to include railpackVersion in the application schema.
This commit is contained in:
@@ -185,7 +185,9 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
|
||||
isStaticSpa:
|
||||
data.buildType === BuildType.static ? data.isStaticSpa : null,
|
||||
railpackVersion:
|
||||
data.buildType === BuildType.railpack ? data.railpackVersion : null,
|
||||
data.buildType === BuildType.railpack
|
||||
? data.railpackVersion || "0.2.2"
|
||||
: null,
|
||||
})
|
||||
.then(async () => {
|
||||
toast.success("Build type saved");
|
||||
|
||||
Reference in New Issue
Block a user