1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00
This commit is contained in:
Flam3rboy 2021-05-30 01:44:50 +02:00
commit 7684f7f398

View File

@ -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"]
RUN npm run build
CMD ["node", "dist/start.js"]