1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 02:31:36 +02:00
This commit is contained in:
Flam3rboy 2021-05-09 17:41:37 +02:00
commit e83b7cab75
2 changed files with 16 additions and 1 deletions

2
.gitignore vendored
View File

@ -103,3 +103,5 @@ dist
# TernJS port file
.tern-port
.DS_Store
data

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:lts-alpine
RUN mkdir -p /usr/src/fosscord-gateway
WORKDIR /usr/src/fosscord-gateway
COPY package.json /usr/src/fosscord-gateway
RUN apk --no-cache --virtual build-dependencies add \
python \
make \
g++
RUN npm install
RUN apk del build-dependencies
COPY . /usr/src/fosscord-gateway
EXPOSE 3002
CMD ["npm", "start"]