From 6b771e084cdea0413b1e8b84ac9350eae92c1519 Mon Sep 17 00:00:00 2001 From: Aleksandr Liubenkov Date: Thu, 21 Dec 2023 14:48:10 +0300 Subject: [PATCH] Add node_modules binaries to env for docker image --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index eb006af4..2b767509 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ WORKDIR /usr/src/app COPY package*.json ./ COPY yarn.lock ./ RUN yarn install --frozen-lockfile +ENV PATH /usr/src/app/node_modules/.bin:$PATH COPY ./docker/entrypoint.sh /usr/local/bin ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]