Omit dev dependencies
parent
eba987561e
commit
140fa8fea0
|
@ -5,7 +5,7 @@ ENV NODE_ENV=production
|
|||
|
||||
WORKDIR /app
|
||||
COPY ["package.json", "package-lock.json*", "./"]
|
||||
RUN npm install
|
||||
RUN npm install --omit=dev
|
||||
RUN npm install nodemon
|
||||
COPY . .
|
||||
RUN npm run build-tailwind
|
||||
|
|
Loading…
Reference in New Issue