summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-10-08 20:13:19 +0200
committerxnacly <matteogropp@protonmail.com>2021-10-08 20:13:19 +0200
commitbadea523e82e8558d77e0d56dbc47aeb0c0564b0 (patch)
tree2e17be663286b0fa2072ed943b3f5d112862c270 /Dockerfile
parentMerge pull request #418 from TheArcaneBrony/compiler-change (diff)
downloadserver-badea523e82e8558d77e0d56dbc47aeb0c0564b0.tar.xz
:sparkles: added Dockerfile for bundle
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..320c3836
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,7 @@
+FROM node:16.10.0
+WORKDIR /usr/src/fosscord-server/
+COPY . .
+WORKDIR /usr/src/fosscord-server/bundle
+RUN npm run setup
+EXPOSE 3001
+CMD [ "npm", "run", "start:bundle" ]
\ No newline at end of file