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