6c6bca6ff8
Node.js support is just for experimental purpose at this stage, may expect a lot of changes and refactoring as time goes by. Story: 2001580 Task: 6529 Change-Id: Ib75364ed4501da198b2d40f4eb111428e5e3cbbb
15 lines
287 B
Docker
15 lines
287 B
Docker
FROM node:8-alpine
|
|
MAINTAINER anlin.kong@gmail.com
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json /usr/src/app/
|
|
COPY package-lock.json /usr/src/app/
|
|
RUN npm install && npm cache clean --force
|
|
COPY server.js /usr/src/app/server.js
|
|
|
|
EXPOSE 9090
|
|
|
|
CMD [ "npm", "start" ]
|