Converted main codebase to typescript
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
@@ -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" ]
|
||||
Reference in New Issue
Block a user