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.

  • Download logs from docker containers
  • How i can configure dockerized WildFly with HornetQ?
  • Deploy go app to docker in vagrant
  • How to use Haskell Stack with Docker Compose?
  • Docker: containers vs local installs
  • What happens to the data when a docker container crashes
  • 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 to share data from host to containers using named volumes?
  • docker toolbox on windows then docker run hello-world gets x509: certificate signed by unknown authority
  • ssh-keyscan not found in Dockerfile
  • How to edit ENTRYPOINT file of a docker image.
  • Accessing external hosts from docker container
  • how to define HTTP health check in a consul container for a service on the same host?
  • 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.