1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-13 06:02:39 +01:00
server/Dockerfile
2021-05-31 00:51:54 +02:00

13 lines
276 B
Docker

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