Skip to content

Commit

Permalink
telegramdl: dockerize
Browse files Browse the repository at this point in the history
  • Loading branch information
regularentropy committed Jul 20, 2024
1 parent 4965bcb commit ab7e373
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
npm-debug.log
config.yml
12 changes: 12 additions & 0 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:22

WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install

COPY . .

EXPOSE 3000

CMD [ "node", "main.js" ]

0 comments on commit ab7e373

Please sign in to comment.