mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
Add build support for http request
This commit is contained in:
parent
7b7bb46844
commit
0f8da44165
3 changed files with 31 additions and 7 deletions
|
@ -278,12 +278,15 @@ function StartContainerController($scope, $routeParams, $location, Container) {
|
|||
};
|
||||
}
|
||||
|
||||
function BuilderController($scope, Image) {
|
||||
function BuilderController($scope, Dockerfile) {
|
||||
$scope.template = '/partials/builder.html';
|
||||
|
||||
ace.config.set('basePath', '/lib/ace-builds/src-noconflict/');
|
||||
|
||||
$scope.build = function() {
|
||||
Dockerfile.build(editor.getValue(), function(e) {
|
||||
console.log(e);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue