1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

add ncc builder

This commit is contained in:
Fedor Katurov 2025-02-24 20:02:11 +07:00
parent 3a0b21bc19
commit 2131447939
4 changed files with 43 additions and 5 deletions

View file

@ -10,8 +10,15 @@ RUN yarn
COPY . .
RUN yarn build
FROM node:18-bookworm AS runner
COPY --from=builder /app/dist ./
WORKDIR /app/dist
COPY ./docker/wait-for-it.sh .
EXPOSE 80
CMD ["node", "./index.js"]