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
@ -1,8 +1,8 @@
|
|||||||
FROM node:lts-alpine
|
FROM node:lts-alpine
|
||||||
WORKDIR /usr/src/fosscord-api
|
WORKDIR /usr/src/fosscord-api
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npx patch-package
|
|
||||||
COPY . .
|
COPY . .
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
CMD ["npm", "start"]
|
RUN npm run build
|
||||||
|
CMD ["node", "dist/start.js"]
|
Loading…
Reference in New Issue
Block a user