diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7937332 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:18 + +WORKDIR /app + +COPY . /app/ + +COPY package*.json /app/ + +RUN npm install + +RUN npm run build + +EXPOSE 8080 + +CMD ["npm", "start"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..6d600be --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: '3' +services: + web: + image: metallic + build: . + ports: + - "8088:8080" # Set first port to whatever you want, linking it with your discord