1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-05-05 03:36:40 +07:00

fix wait-for-it.sh

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

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.sh
EXPOSE 80 EXPOSE 80
CMD ["node", "./index.js"] CMD ["/bin/bash", "node", "./index.js"]