fetch-dht/Dockerfile
2020-04-12 16:33:32 -05:00

10 lines
243 B
Docker

FROM node:12-alpine as base
WORKDIR /app
FROM base as packages
ADD package.json yarn.lock /app/
RUN yarn --production --frozen-lockfile
FROM base as final
COPY --from="packages" /app/node_modules /app/node_modules
ADD . /app
CMD node index.js