DOCKER SUPPORT !

This commit is contained in:
Violet 2023-10-25 18:31:42 -05:00
parent db38f8c4d6
commit e0691ef44e
3 changed files with 16 additions and 1 deletions

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
node_modules
npm-debug.log
cached

12
Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM node:20
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD [ "node", "index.js" ]

2
package-lock.json generated
View file

@ -6,7 +6,7 @@
"packages": { "packages": {
"": { "": {
"name": "youtubeconverter", "name": "youtubeconverter",
"version": "0.4.0", "version": "1.2.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"body-parser": "^1.20.2", "body-parser": "^1.20.2",