mirror of
https://github.com/DarthKilroy/Spot.git
synced 2026-02-04 02:26:48 +00:00
add docker build files
This commit is contained in:
parent
dffb46f623
commit
62705ef20d
3 changed files with 46 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM alpine:latest
|
||||
|
||||
RUN apk add nodejs-current yarn
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock /app/
|
||||
RUN yarn
|
||||
|
||||
COPY . /app
|
||||
|
||||
CMD ["node", "bot.js"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue