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:
commit
c6320db551
@ -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"]
|
Loading…
Reference in New Issue
Block a user