1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 13:14:06 +01:00

Merge pull request #152 from luth31/master

Move TS compilation to docker image build
This commit is contained in:
Flam3rboy 2021-05-29 21:37:07 +02:00 committed by GitHub
commit c6320db551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ FROM node:lts-alpine
WORKDIR /usr/src/fosscord-api
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"]