Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Create Dockerfile.example
Browse files Browse the repository at this point in the history
  • Loading branch information
webtax-gh authored Nov 21, 2021
1 parent e365828 commit 1ea22fc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM node:16

# Create app directory for bot
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# Copy app and install dependencies for bot
COPY . /usr/src/app
RUN npm install

# Register guild (Optional)
RUN npm run register [guild id]

RUN apt update && apt upgrade -y

CMD [ "npm", "run", "bot" ]

0 comments on commit 1ea22fc

Please sign in to comment.