1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Remove redundant Dockerfile commands

This commit is contained in:
Paul Munteanu 2021-05-23 04:26:24 +03:00
parent 1bfa280626
commit e69464684e
No known key found for this signature in database
GPG Key ID: 4C0797E4861E8917

View File

@ -1,13 +1,11 @@
FROM node:lts-alpine
RUN mkdir -p /usr/src/fosscord-gateway
WORKDIR /usr/src/fosscord-gateway
COPY package.json /usr/src/fosscord-gateway
COPY . .
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"]