1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-21 18:21:36 +02: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
WORKDIR /usr/src/fosscord-gateway
COPY . .
COPY package.json .
RUN apk --no-cache --virtual build-dependencies add \
python \
make \
g++
RUN npm install
RUN apk del build-dependencies
COPY . .
EXPOSE 3002
CMD ["npm", "start"]