summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-05-29 14:48:50 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-11-21 17:57:10 -0700
commitf0ca174ada81a0ec4b1bbff9b70fcc680e4ca0ad (patch)
tree309e713bcb63918a4015c623fd778514c977e8ae /Dockerfile
downloadchessh_bot-main.tar.gz
chessh_bot-main.zip
squash everything since there was profanity in the commit log and maybe people won't like thatHEADmain
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..8763c2f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,8 @@
+FROM node:alpine
+WORKDIR /usr/chessh_bot
+COPY package.json .
+RUN npm install\
+ && npm install typescript -g
+COPY . .
+RUN tsc
+CMD ["node", "./dist/index.js"]