diff --git a/docker/Dockerfile b/docker/Dockerfile index 177a482..ad6f61a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ FROM node:18-alpine as builder WORKDIR /app -RUN apk add --no-cache tzdata +RUN apk add --no-cache tzdata bash COPY ./package.json . COPY ./yarn.lock . RUN yarn @@ -18,7 +18,8 @@ COPY --from=builder /app/dist ./ COPY --from=builder /app/templates /templates COPY ./docker/wait-for-it.sh . +RUN chmod +x ./wait-for-it EXPOSE 80 -CMD ["node", "./index.js"] +CMD ["/bin/bash", "node", "./index.js"]