feat(Dockerfile): use portainer/base image (#1045)

pull/1066/head^2
Anthony Lapenna 2017-07-18 12:17:31 +02:00 committed by GitHub
parent 471f902171
commit 57fde5ae7c
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM centurylink/ca-certs
FROM portainer/base
COPY dist /

View File

@ -4,7 +4,7 @@ var loadGruntTasks = require('load-grunt-tasks');
module.exports = function (grunt) {
loadGruntTasks(grunt);
loadGruntTasks(grunt);
grunt.registerTask('default', ['eslint', 'build']);
grunt.registerTask('before-copy', [
@ -180,7 +180,7 @@ module.exports = function (grunt) {
run: {
command: [
'docker rm -f portainer',
'docker run -d -p 9000:9000 -v $(pwd)/dist:/app -v /tmp/portainer:/data -v /var/run/docker.sock:/var/run/docker.sock:z --name portainer centurylink/ca-certs /app/portainer-linux-amd64 --no-analytics -a /app'
'docker run -d -p 9000:9000 -v $(pwd)/dist:/app -v /tmp/portainer:/data -v /var/run/docker.sock:/var/run/docker.sock:z --name portainer portainer/base /app/portainer-linux-amd64 --no-analytics -a /app'
].join(';')
}
},