diff --git a/Dockerfile b/Dockerfile index ade7c416..b2329233 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file