|
@@ -24,10 +24,10 @@ if (!project.hasProperty('dockerBaseImage'))
|
|
|
ext.dockerBaseImage = 'node:latest'
|
|
|
|
|
|
if (!project.hasProperty('dockerImageId'))
|
|
|
- ext.dockerImageId = 'doczilla/doczilla-js-docs:latest'
|
|
|
+ ext.dockerImageId = 'crazydoctor/crazydoctor-dzjsdocs:latest'
|
|
|
|
|
|
if (!project.hasProperty('dockerContainerId'))
|
|
|
- ext.dockerContainerId = 'js-docs-doczilla-pro'
|
|
|
+ ext.dockerContainerId = 'dzjsdocs-crazydoctor-org'
|
|
|
|
|
|
if (!project.hasProperty('dockerContainerNodeOptions'))
|
|
|
ext.dockerContainerNodeOptions = ''
|
|
@@ -75,8 +75,8 @@ task createDockerfile(type: Dockerfile) {
|
|
|
runCommand "mkdir -p /root/.doczilla_js_docs"
|
|
|
copyFile './files/.gitconfig', '/root/'
|
|
|
copyFile './files/.git-credentials', '/root/'
|
|
|
- copyFile "./files", '/opt/pro.doczilla.js-docs/'
|
|
|
- workingDir '/opt/pro.doczilla.js-docs/'
|
|
|
+ copyFile "./files", '/opt/org.crazydoctor.dzjsdocs/'
|
|
|
+ workingDir '/opt/org.crazydoctor.dzjsdocs/'
|
|
|
|
|
|
defaultCommand 'node', 'index.js'
|
|
|
exposePort 3000
|