mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
Merge pull request #63 from DiegoMagdaleno/master
Docker: Fix an issue were native dependencies weren't able to build
This commit is contained in:
commit
70e722924e
@ -2,7 +2,12 @@ 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 add --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"]
|
Loading…
Reference in New Issue
Block a user