We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c2995 commit 48e4fb5Copy full SHA for 48e4fb5
dev.Dockerfile
@@ -6,6 +6,9 @@ VOLUME ["/app"]
6
7
COPY package*.json /app/
8
9
+ENV NEXT_TELEMETRY_DISABLED 1
10
+ENV IS_DEV 1
11
+
12
RUN npm install --also=dev
13
14
ENTRYPOINT /usr/local/bin/npm run dev
next.config.js
@@ -1,7 +1,10 @@
1
/** @type {import('next').NextConfig} */
2
const nextConfig = {
3
reactStrictMode: true,
4
- swcMinify: true
+ swcMinify: true,
5
+ env: {
+ IS_DEV: process.env.IS_DEV,
+ }
}
0 commit comments