Skip to content

Instantly share code, notes, and snippets.

@fizerkhan

fizerkhan/Dockerfile

Last active Feb 20, 2018
Embed
What would you like to do?
Docker Compose build is not working
version: '2'
services:
web:
build: .
ports:
- 3000:3000
volumes:
- ./code-dev/:/usr/src/app
FROM node:0.10
CMD [ "npm", "start", "#custom" ]
@fizerkhan

This comment has been minimized.

Copy link
Owner Author

@fizerkhan fizerkhan commented Feb 20, 2018

docker-compose --verbose build

compose.config.config.find: Using configuration files: ./docker-compose.yml
docker.auth.auth.load_config: File doesn't exist
compose.cli.command.get_client: docker-compose version 1.8.0, build f3628c7
docker-py version: 1.9.0
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1e 11 Feb 2013
compose.cli.command.get_client: Docker base_url: http+docker://localunixsocket
compose.cli.command.get_client: Docker version: KernelVersion=4.2.0-42-generic, Os=linux, BuildTime=2016-08-18T05:22:43.932726241+00:00, ApiVersion=1.24, Version=1.12.1, GitCommit=23cf638, Arch=amd64, GoVersion=go1.6.3
compose.service.build: Building web
compose.cli.verbose_proxy.proxy_callable: docker build <- (pull=False, stream=True, nocache=False, tag=u'vagrant_web', buildargs=None, rm=True, forcerm=False, path='/home/vagrant', dockerfile=None)

It stays there for long time. Nothing happens in the console after the print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment