try with npm

This commit is contained in:
spiral 2023-01-22 02:05:44 +00:00
parent 647fa1e0ec
commit 60b3b83870
4 changed files with 589 additions and 256 deletions

View file

@ -1,11 +1,11 @@
FROM alpine:latest
RUN apk add nodejs-current npm yarn git
RUN apk add nodejs-current npm git
WORKDIR /app
COPY package.json yarn.lock /app/
RUN yarn
COPY package.json package-lock.json /app/
RUN npm i
COPY . /app
CMD ["yarn", "ts-node", "bot.ts"]
CMD ["npm", "run", "ts-node", "bot.ts"]