Commit 42499484 authored by Jainath's avatar Jainath

updated docker file

parent 5f2c5252
Pipeline #94111494 failed with stages
in 7 minutes and 23 seconds
FROM node:8.11.3-alpine
FROM node:8.11-alpine
# Install CURL which is used for healthcheck
RUN apk add --no-cache curl
# Set work directory
WORKDIR /usr/src/app
RUN npm install pm2 -g
# Install pm2 to manage the node process
RUN npm install pm2@2 -g
# Download application dependencies
RUN npm install
# Expose application port
# Expose application debug port
# start node.js application with pm2
CMD ["pm2", "start", "processes.json", "--no-daemon"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment