influx-only #2
@ -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…
x
Reference in New Issue
Block a user