mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-26 01:42:58 +00:00
Docker: Fix an issue were native dependencies werent able to build
This commit is contained in:
1 parent
6f827ee9cd
commit
a78102b6cf
1 file changed
+5
@@ -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"]
|
||||
Reference in new issue
Block a user