summary refs log tree commit diff
path: root/gateway/Dockerfile
blob: e07b7d8fff0b442fe65f84d47116b1c2af78fc34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"]