Files
Light Gao 4474004e99 feat: add Dockerfile & exception capture (#17)
* feat: add Dockerfile (#16)

* fix: add route.ts exception capture (#18)

---------

Co-authored-by: gaoliang1-jk <gaoliang1-jk@360shuke.com>
2024-08-07 14:27:13 +08:00

13 lines
142 B
Docker

FROM --platform=linux/amd64 node:19-bullseye-slim
WORKDIR /app
COPY . .
RUN yarn install
RUN yarn build
EXPOSE 3000
CMD ["yarn","start"]