Skip to content

Adding Dockerfile and docker-compose.yml#1

Open
mrunal4 wants to merge 2 commits intognowledge:masterfrom
mrunal4:master
Open

Adding Dockerfile and docker-compose.yml#1
mrunal4 wants to merge 2 commits intognowledge:masterfrom
mrunal4:master

Conversation

@mrunal4
Copy link

@mrunal4 mrunal4 commented Mar 7, 2019

Adding Dockerfile and docker-compose.yml

To create docker image: (node8 alpine image is used as base image)
docker build -t <image_name> .

To create container via docker-compose:
docker-compose up -d

To start container via docker-compose:
docker-compose start

To stop container via docker-compose:
docker-compose stop

To remove container via docker-compose: (-v is to remove volumes)
docker-compose down -v

Surendra-Patil added a commit that referenced this pull request Mar 7, 2019
yogeshu pushed a commit to yogeshu/DGstudio that referenced this pull request Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant