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.

  • How to mount current directory as read-only but still allow changes inside the container?
  • what is the exact difference between YAML version 1 and YAML version 2?
  • Docker save only non public layers
  • how to use pip to install pkg from requirement file without reinstall
  • dokcer-compose mysql container denies access to wordpress container
  • How can I copy a Docker container's configuration when I commit an image?
  • 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


  • mkdir .ssh in a Dockerfile, folder is not there?
  • save docker output to a text file
  • Managing Docker containers from Ansible plays
  • Dokku Buil Failed - Pre-receive hook declined
  • Docker Run Time Statistics ( Benchmarks)
  • AWS BeanStalk environment running multi-container Docker fail to start with Health: Severe
  • 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.