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
All checks were successful
Build & Publish / Build & Publish (push) Successful in 1m23s

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

View file

@ -2,7 +2,6 @@ FROM node:18-alpine as builder
WORKDIR /app WORKDIR /app
RUN apk add --no-cache tzdata
COPY ./package.json . COPY ./package.json .
COPY ./yarn.lock . COPY ./yarn.lock .
RUN yarn RUN yarn
@ -12,12 +11,15 @@ RUN yarn build
FROM node:18-alpine AS runner FROM node:18-alpine AS runner
RUN apk add --no-cache tzdata bash
WORKDIR /app/dist WORKDIR /app/dist
COPY --from=builder /app/dist ./ 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