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