1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-24 03:12:38 +01:00
server/gateway/Dockerfile
Flam3rboy d24348ef0f gateway
2021-08-12 20:18:05 +02:00

15 lines
302 B
Docker

FROM node:lts-alpine
WORKDIR /usr/src/fosscord-gateway
COPY package.json .
COPY package-lock.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"]