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:
parent
3a0b21bc19
commit
2131447939
4 changed files with 43 additions and 5 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue