Dokku/Docker deploying apps fails

Docker noob here so bear with me.

I have a VPS with dokku configured, it has multiple apps already running.
I am trying to add a fairly complex app at present. But docker just fails with the following error.

  • Xdebug ignores breakpoints in Netbeans for Php project created inside Docker container
  • How do I obtain a nodes IP address in a swarm using docker remote API?
  • Committing an interactive container in docker
  • Can't get MLT Framework to process audio in Docker container
  • run angular2 springboot application on docker, it shows index page but angular not loaded on that
  • Error when creating a Docker container with MongoDB in it
  • enter image description here

    From what I understand I need to update the packages the error is given. Problem is they are needed by some other module and I cant update it. Is a way to make docker bypass the warning and build.

    Following is the content of my docker

    FROM mhart/alpine-node:6
    # Create app dir
    RUN mkdir -p /app
    WORKDIR /app
    # Install dependancy
    COPY package.json /app
    RUN npm install
    # Bundle the app
    COPY . /app
    EXPOSE 9337
    CMD ["npm", "start"]

    Been trying this for a couple of days not with no success.
    Any help greatly appreciated


  • How do I undo the command $ eval “$(docker-machine env blog)”
  • Can docker compose skip build if the image is present?
  • Docker compose won't find $PWD environment variable
  • How to run Swagger Spring Application using Jetty on Docker
  • Why does :latest aspnet core docker image run when the tag :1.1 fails?
  • Uninstall weave docker
  • One Solution collect form web for “Dokku/Docker deploying apps fails”

    I believe npm process get killed with error 137 on docker is usually caused by out of memory error. You can try adding swap file (or add more RAM) to test this.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.