example: a clean up

This commit is contained in:
Sameer Naik
2017-10-06 17:19:09 +05:30
parent 7cac7413bf
commit 2c8b8df300

View File

@@ -1,21 +1,12 @@
FROM bitnami/node:6 as builder
ENV NODE_ENV="production"
COPY . /app
WORKDIR /app
RUN npm install
FROM bitnami/node:6-prod
ENV NODE_ENV="production"
COPY --from=builder /app /app
WORKDIR /app
EXPOSE 3000
CMD ["npm", "start"]