1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 03:33:33 +01:00

added Dockerfile for bundle

This commit is contained in:
xnacly 2021-10-08 20:13:19 +02:00
parent e261380304
commit d747b202c8
2 changed files with 9 additions and 0 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
node_modules/
db/

7
Dockerfile Normal file
View File

@ -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" ]