diff --git a/.gitignore b/.gitignore index bd7d19c..37a6e22 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ node_modules IHateAudio.cache -IHateAudio.session \ No newline at end of file +IHateAudio.session + +.env \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ddc56dd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:lts-alpine +WORKDIR /usr/src/app + +# 👌 +COPY package*.json ./ +RUN npm install + +COPY index.js ./ + +CMD ["node", "index.js"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e6b6edd --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +services: + bothoven: + build: . + volumes: + - ./IHateAudio.cache:/usr/src/app/IHateAudio.cache + - ./IHateAudio.session:/usr/src/app/IHateAudio.session + +volumes: + IHateAudio.cache: + IHateAudio.session: \ No newline at end of file