Added Docker
This commit is contained in:
parent
d97532c660
commit
b5087c636d
4 changed files with 40 additions and 1 deletions
17
Dockerfile
Normal file
17
Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /checker
|
||||
|
||||
COPY package.json ./
|
||||
COPY pnpm-lock.yaml ./
|
||||
COPY src ./src
|
||||
|
||||
LABEL org.opencontainers.image.source=https://git.pfy.ch/pfych/chapter-tracker
|
||||
LABEL org.opencontainers.image.description="Ping a webhook when a new MangaDex chapter is released"
|
||||
LABEL org.opencontainers.image.licenses=MIT
|
||||
|
||||
RUN npm install -g pnpm
|
||||
RUN pnpm install
|
||||
RUN pnpm run compile
|
||||
|
||||
CMD ["node", "./.out/build.js"]
|
Loading…
Add table
Add a link
Reference in a new issue