Public | Automated Build

Last pushed: 3 years ago
FROM ubuntu:trusty ENV DEBIAN_FRONTEND noninteractive #install needed library RUN apt-get update -y RUN apt-get install build-essential curl --assume-yes RUN curl -sL | sudo bash - RUN apt-get install -y nodejs # mount the current project workspace under /project inside the container ADD . /project # Install app dependencies RUN cd /project; npm install --production EXPOSE 8080 WORKDIR /project CMD ["node", "/project/app.js"]
Source Repository