use PATH env
This commit is contained in:
parent
e164f7000a
commit
1daf4a1cd1
|
@ -33,7 +33,7 @@ COPY pnpm-lock.yaml package.json ./
|
||||||
|
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
COPY ./packages/strapi .
|
COPY ./packages/strapi .
|
||||||
# ENV PATH=/app/node_modules/.bin:$PATH
|
ENV PATH=/app/node_modules/.bin:$PATH
|
||||||
RUN chown -R node:node /app
|
RUN chown -R node:node /app
|
||||||
USER node
|
USER node
|
||||||
# RUN pnpm run build
|
# RUN pnpm run build
|
||||||
|
|
Loading…
Reference in New Issue