Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canner dose not run in Docker #1

Open
charlitoro opened this issue Jan 29, 2019 · 1 comment
Open

canner dose not run in Docker #1

charlitoro opened this issue Jan 29, 2019 · 1 comment

Comments

@charlitoro
Copy link

I want to create a docker container with this base project, but this container not export the port.
The docker-compose.yml:

version: '3.3'
services:
    cms-node:
        build: .
        container_name: cms-node 
        volumes:
            - ./:/usr/app/
            - /usr/app/node_modules
        command: bash -c "yarn install && yarn start"
        ports:
            - 3000:8080
    

I think that this problem is about webpack...

@charlitoro
Copy link
Author

This help me, (https://medium.com/@zwegrzyniak/docker-compose-and-webpack-dev-server-hot-reloads-b73b65d13d79) but i dont sure for production

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

No branches or pull requests

1 participant