feat: add dockerfile

This commit is contained in:
crazywoola
2023-05-11 10:17:24 +08:00
parent cbe672766b
commit 831d74fb6f

12
Dockerfile Normal file
View File

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