This commit is contained in:
parent
fb6dbc3b5d
commit
2ff05f9255
@ -4,13 +4,9 @@ ENV NODE_ENV=production
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ["package.json", "pnpm-lock.yaml", "./"]
|
||||
|
||||
RUN pnpm install --production --silent && mv node_modules ../
|
||||
|
||||
COPY . .
|
||||
|
||||
#RUN chown -R node /usr/src/app
|
||||
#USER node
|
||||
RUN pnpm install --production --silent
|
||||
|
||||
RUN pnpm run build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user