You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
241 B
15 lines
241 B
FROM node:8.15.0 as build
|
|
|
|
WORKDIR /ngn4
|
|
|
|
COPY . /ngn4/
|
|
RUN rm -rf data node_modules .git Dockerfile screenlog.0 access.log
|
|
|
|
RUN npm install
|
|
|
|
FROM node:8.15.0 as dist
|
|
|
|
COPY --from=0 /ngn4 /ngn4
|
|
WORKDIR /ngn4
|
|
|
|
CMD ["/usr/local/bin/node", "."]
|