1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-13 14:12:41 +01:00
server/Dockerfile

13 lines
336 B
Docker
Raw Normal View History

2021-05-09 00:51:02 +02:00
FROM node:lts-alpine
2021-05-08 23:53:15 +02:00
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++
2021-05-08 23:53:15 +02:00
RUN npm install
RUN apk del build-dependencies
2021-05-08 23:53:15 +02:00
COPY . /usr/src/fosscord-gateway
EXPOSE 3002
CMD ["npm", "start"]