2021-05-24 21:27:59 +00:00
|
|
|
FROM node:16-alpine
|
2019-11-13 14:01:51 +00:00
|
|
|
|
|
|
|
COPY package.json /app/package.json
|
|
|
|
COPY yarn.lock /app/yarn.lock
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN yarn install --production
|
|
|
|
|
|
|
|
COPY . /app
|
|
|
|
|
|
|
|
RUN yarn global add file:$(pwd)
|
|
|
|
ENV PATH="${PATH}:$(yarn global bin)"
|
|
|
|
|
|
|
|
ENTRYPOINT [ "node", "/app/out/index.js" ]
|
|
|
|
CMD [ "--help" ]
|