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:
commit
b319b0cf0f
7
Dockerfile
Normal file
7
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user