try to fix runtime error and add runtime logs
This commit is contained in:
@@ -6,7 +6,7 @@ WORKDIR /app
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
RUN yarn install --frozen-lockfile sharp
|
||||
|
||||
COPY . .
|
||||
COPY ./src/app/favicon.ico ./public/favicon.ico
|
||||
@@ -24,6 +24,8 @@ ENV NODE_ENV=production
|
||||
|
||||
USER nextjs
|
||||
|
||||
RUN mkdir -p ./.next/cache
|
||||
|
||||
COPY --from=builder /app/public ./public
|
||||
COPY --from=builder /app/.next/standalone ./
|
||||
COPY --from=builder /app/.next/static ./.next/static
|
||||
|
||||
Reference in New Issue
Block a user