Improving the fix

This commit is contained in:
renzynx 2022-12-19 22:13:53 +07:00
parent 81fc5d3083
commit 34b8879290
3 changed files with 1 additions and 4 deletions

View File

@ -11,12 +11,10 @@ RUN yarn install --immutable
FROM node:18-alpine AS builder
ENV NEXT_TELEMETRY_DISABLED 1
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
COPY . .
RUN NEXT_PUBLIC_API_URL=APP_NEXT_PUBLIC_API_URL yarn build

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

View File

@ -1,4 +1,3 @@
import React from 'react';
import { createGetInitialProps } from '@mantine/next';
import Document, { Head, Html, Main, NextScript } from 'next/document';