1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-07 19:32:34 +01:00

Merge pull request #133 from DiegoMagdaleno/master

Setup: Dockerize the API
This commit is contained in:
Flam3rboy 2021-05-09 14:24:54 +02:00 committed by GitHub
commit b319b0cf0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM node:lts-alpine
RUN mkdir -p /usr/src/fosscord-api
WORKDIR /usr/src/fosscord-api
COPY package.json /usr/src/fosscord-api
RUN npm install
COPY . /usr/src/fosscord-api
CMD ["npm", "start"]