10 lines
192 B
Docker
10 lines
192 B
Docker
FROM node:8
|
|
LABEL maintainer="Jay <jie.chen@tw.viewsonic.com>"
|
|
ENV NODE_PORT 5111
|
|
RUN mkdir -p /data
|
|
WORKDIR /data
|
|
COPY . .
|
|
RUN rm .env
|
|
RUN npm install
|
|
EXPOSE ${NODE_PORT}
|
|
CMD ["npm", "start"] |