From ba3d274cab6fd0bcb478fd049a820f303ae53f7c Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 26 Feb 2025 23:31:34 +0700 Subject: [PATCH] fix wait-for-it.sh --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 177a482..bff40c6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,6 @@ FROM node:18-alpine as builder WORKDIR /app -RUN apk add --no-cache tzdata COPY ./package.json . COPY ./yarn.lock . RUN yarn @@ -12,12 +11,15 @@ RUN yarn build FROM node:18-alpine AS runner +RUN apk add --no-cache tzdata bash + WORKDIR /app/dist COPY --from=builder /app/dist ./ COPY --from=builder /app/templates /templates COPY ./docker/wait-for-it.sh . +RUN chmod +x ./wait-for-it.sh EXPOSE 80