1
0
Fork 0
js-utils/Dockerfile.alpine

17 lines
277 B
Docker
Raw Permalink Normal View History

2021-05-24 21:28:07 +00:00
FROM node:16-alpine
2019-09-17 23:56:23 +00:00
COPY package.json /app/package.json
COPY yarn.lock /app/yarn.lock
2019-09-17 23:56:23 +00:00
WORKDIR /app
RUN yarn install --production
COPY . /app
2019-09-17 23:56:23 +00:00
RUN yarn global add file:$(pwd)
ENV PATH="${PATH}:$(yarn global bin)"
ENTRYPOINT [ "node", "/app/out/index.js" ]
CMD [ "--help" ]