Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Docker Container #1531

Open
Open

Description

@JeremyMarshall

I was wondering what the policy towards docker is.

There is a heroku deployer (which I use) but recently I've beed using Docker and now https://www.tutum.co/ from the dist folder. The problem as I see it is that the standard docker Node container needs a great deal of interaction when doing an npm install so the whole create and destroy is a bit slow. I put together a similar container which does the npm install ahead of time https://hub.docker.com/r/jeremymarshall/angular-fullstack-dist/

There is also a wider question of providing a mongo container and possibly using nginx as a reverse proxy ahead in a compose/tutum set

Activity

  1. added 3 commits that reference this issue on Feb 17, 2016
    2deb545
    c6eb044
    374f0bf
  2. adambarthelson commented on Jun 27, 2016

    @adambarthelson

    When I use Docker with my Angular Fullstack applications, I've been using this: https://gist.github.com/adambarthelson/ef57b7b90814c771be9a02381ef2182b

    This way it's compatible with Dockerhub's automated builds, and you're not having to manually push fresh images to your registry like a savage (which is extremely slow).

    An example docker-compose.yml that links this with a Mongo container is:

    version: '2'
    
    services:
      web:
        image: you/your-angular-fullstack-image
        links:
          - mongodb:mongodb
        ports:
          - '8080:8080'
        restart: always
      mongodb:
        image: mongo
        ports:
          - '27017:27017'
        restart: always
    
  3. adambarthelson commented on Jun 27, 2016

    @adambarthelson

    Seems comments for #516 was turned off because @Awk34 got tired of receiving +1 notifications, haha. My comment might be more relevant there.

  4. Awk34 commented on Jun 27, 2016

    @Awk34
    Collaborator

    Seems comments for #516 was turned off because @Awk34 got tired of receiving +1 notifications, haha.

    Indeed...

  5. Awk34 commented on Jun 27, 2016

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions