diff --git a/Dockerfile b/Dockerfile index 1113978f..4cdb93e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM node:lts-alpine WORKDIR /usr/src/fosscord-api -COPY package.json . +COPY package.json . RUN npm install -RUN npx patch-package COPY . . EXPOSE 3001 -CMD ["npm", "start"] \ No newline at end of file +RUN npm run build +CMD ["node", "dist/start.js"] \ No newline at end of file