mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
fix wait-for-it.sh
All checks were successful
Build & Publish / Build & Publish (push) Successful in 1m24s
All checks were successful
Build & Publish / Build & Publish (push) Successful in 1m24s
This commit is contained in:
parent
2606fdf0bb
commit
0f45a47a54
1 changed files with 3 additions and 2 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue