Converted main codebase to typescript

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-12-28 13:17:57 +01:00
parent 1d9ded82a4
commit 68fde04bbb
122 changed files with 14230 additions and 1834 deletions

View File

@@ -3,12 +3,11 @@ FROM node-cache as cache
FROM node:20.9.0-alpine3.18
COPY --from=cache /node_modules /app/node_modules
COPY package.json /app
COPY yarn.lock /app
COPY . /app
WORKDIR /app
RUN yarn install
RUN yarn global add typescript
RUN yarn build
CMD ["node", "src/index.js"]
CMD [ "yarn", "start" ]