Skip to content

Commit

Permalink
Add node_modules binaries to env for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
lyubenkov committed Dec 21, 2023
1 parent e3089f4 commit 6b771e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 6b771e0

Please sign in to comment.