mirror of
https://github.com/DarthKilroy/Spot.git
synced 2026-02-04 02:26:48 +00:00
try with npm
This commit is contained in:
parent
647fa1e0ec
commit
60b3b83870
4 changed files with 589 additions and 256 deletions
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue