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

Undo mistake in Dockerfile

This commit is contained in:
Paul Munteanu 2021-05-23 16:06:23 +03:00
parent e69464684e
commit 84b6c16c3b
No known key found for this signature in database
GPG Key ID: 4C0797E4861E8917

View File

@ -1,11 +1,12 @@
FROM node:lts-alpine FROM node:lts-alpine
WORKDIR /usr/src/fosscord-gateway WORKDIR /usr/src/fosscord-gateway
COPY . . COPY package.json .
RUN apk --no-cache --virtual build-dependencies add \ RUN apk --no-cache --virtual build-dependencies add \
python \ python \
make \ make \
g++ g++
RUN npm install RUN npm install
RUN apk del build-dependencies RUN apk del build-dependencies
COPY . .
EXPOSE 3002 EXPOSE 3002
CMD ["npm", "start"] CMD ["npm", "start"]