This commit is contained in:
NehaOberoi92 2018-08-27 14:48:19 +00:00 committed by GitHub
commit 3f57c9c4fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -8,4 +8,4 @@ pipeline:
image: plugins/docker image: plugins/docker
repo: drone/node-demo repo: drone/node-demo
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
dry_run: true # remove this to publish dry_run: true #doing build testing

View file

@ -3,4 +3,4 @@ WORKDIR /usr/src/app
ADD server.js . ADD server.js .
ADD node_modules node_modules ADD node_modules node_modules
EXPOSE 3000 EXPOSE 3000
CMD [ "node", "server.js" ] CMD [ "node", "server.js" ] #some test