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

fix wait-for-it.sh
Some checks failed
Build & Publish / Build & Publish (push) Failing after 1m21s

This commit is contained in:
Fedor Katurov 2025-02-26 23:31:34 +07:00
parent 2606fdf0bb
commit 375960f241

View file

@ -2,7 +2,7 @@ FROM node:18-alpine as builder
WORKDIR /app WORKDIR /app
RUN apk add --no-cache tzdata RUN apk add --no-cache tzdata bash
COPY ./package.json . COPY ./package.json .
COPY ./yarn.lock . COPY ./yarn.lock .
RUN yarn RUN yarn
@ -18,7 +18,8 @@ COPY --from=builder /app/dist ./
COPY --from=builder /app/templates /templates COPY --from=builder /app/templates /templates
COPY ./docker/wait-for-it.sh . COPY ./docker/wait-for-it.sh .
RUN chmod +x ./wait-for-it
EXPOSE 80 EXPOSE 80
CMD ["node", "./index.js"] CMD ["/bin/bash", "node", "./index.js"]