10 lines
181 B
Docker
10 lines
181 B
Docker
|
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"]
|