mirror of
https://github.com/langgenius/webapp-text-generator.git
synced 2026-07-01 20:05:07 -04:00
4474004e99
* feat: add Dockerfile (#16) * fix: add route.ts exception capture (#18) --------- Co-authored-by: gaoliang1-jk <gaoliang1-jk@360shuke.com>
13 lines
142 B
Docker
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"]
|