summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile

index 1113978f..39986e72 100644 --- a/Dockerfile +++ b/Dockerfile
@@ -1,8 +1,9 @@ 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 +RUN npm run build CMD ["npm", "start"] \ No newline at end of file