Skip to content

Commit

Permalink
Dockerfile: pull from moonpiedumplings
Browse files Browse the repository at this point in the history
Add Dockerfile and docker-compose
  • Loading branch information
Nebelung-Dev committed Feb 27, 2023
2 parents bbd6916 + c31425e commit e2e67a9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e2e67a9

Please sign in to comment.