summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-09 00:58:17 +0200
committerGitHub <noreply@github.com>2021-05-09 00:58:17 +0200
commit2119de9ab77ffecd1001f622944b458e74f29918 (patch)
tree8cb03017bc14ea2073a80cf28637d170bb07805b
parent:page_facing_up: GPL V3 license (diff)
parentDocker: Remove .docker as it is not needed in this repository (diff)
downloadserver-2119de9ab77ffecd1001f622944b458e74f29918.tar.xz
Merge pull request #62 from DiegoMagdaleno/master
Begin dockerization
-rw-r--r--.gitignore4
-rw-r--r--Dockerfile8
2 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore

index 5c7cd31d..daf8591a 100644 --- a/.gitignore +++ b/.gitignore
@@ -102,4 +102,6 @@ dist # TernJS port file .tern-port -.DS_Store \ No newline at end of file +.DS_Store + +data \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644
index 00000000..c9f27b5e --- /dev/null +++ b/Dockerfile
@@ -0,0 +1,8 @@ +FROM node:lts-alpine +RUN mkdir -p /usr/src/fosscord-gateway +WORKDIR /usr/src/fosscord-gateway +COPY package.json /usr/src/fosscord-gateway +RUN npm install +COPY . /usr/src/fosscord-gateway +EXPOSE 3002 +CMD ["npm", "start"] \ No newline at end of file