fix dependencies
This commit is contained in:
parent
e9fde119d8
commit
7c89da0baf
6 changed files with 26 additions and 498 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM node:21-alpine3.18
|
||||
WORKDIR /tmp
|
||||
COPY . /tmp
|
||||
RUN yarn install --production
|
||||
RUN yarn global add typescript
|
||||
RUN tsc
|
||||
RUN cp /tmp/build/* /app
|
||||
WORKDIR /app
|
||||
CMD ["node","index.js"]
|
Reference in a new issue