mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 05:02:37 +01:00
13 lines
336 B
Docker
13 lines
336 B
Docker
FROM node:lts-alpine
|
|
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++
|
|
RUN npm install
|
|
RUN apk del build-dependencies
|
|
COPY . /usr/src/fosscord-gateway
|
|
EXPOSE 3002
|
|
CMD ["npm", "start"] |