You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pod log
/usr/src/app/ncc/index.js:1
(()=>{var webpack_modules={96429:function(o,l,p){"use strict";var _= .................. (in one string all build)
Node.js v19.4.0
but in docker its work
Dockerfile
FROM node:19-alpine As build
WORKDIR /usr/src/app
RUN npm i -g @vercel/ncc
COPY package*.json ./
RUN npm ci
COPY . .
RUN NODE_ENV=production npm run build && npm run ncc
FROM node:19-alpine As production
ENV NODE_ENV production
WORKDIR /usr/src/app
RUN npm i -g @vercel/ncc
COPY package*.json ./
COPY --from=build /usr/src/app/ncc ./ncc
EXPOSE 5000
CMD ["ncc", "./ncc/index.js"]
app is NestJS 9
The text was updated successfully, but these errors were encountered:
pod log
/usr/src/app/ncc/index.js:1
(()=>{var webpack_modules={96429:function(o,l,p){"use strict";var _= .................. (in one string all build)
Node.js v19.4.0
but in docker its work
Dockerfile
FROM node:19-alpine As build
WORKDIR /usr/src/app
RUN npm i -g @vercel/ncc
COPY package*.json ./
RUN npm ci
COPY . .
RUN NODE_ENV=production npm run build && npm run ncc
FROM node:19-alpine As production
ENV NODE_ENV production
WORKDIR /usr/src/app
RUN npm i -g @vercel/ncc
COPY package*.json ./
COPY --from=build /usr/src/app/ncc ./ncc
EXPOSE 5000
CMD ["ncc", "./ncc/index.js"]
app is NestJS 9
The text was updated successfully, but these errors were encountered: