Xianbao QIAN commited on
Commit
d686f2c
1 Parent(s): 4bb5b05

Remove unused public folder.

Browse files
Files changed (2) hide show
  1. Dockerfile +0 -2
  2. next.config.mjs +7 -3
Dockerfile CHANGED
@@ -34,8 +34,6 @@ RUN \
34
  addgroup --system --gid 1001 nodejs; \
35
  adduser --system --uid 1001 nextjs
36
 
37
- COPY --from=builder --link /app/public ./public
38
-
39
  # Automatically leverage output traces to reduce image size
40
  COPY --from=builder --link --chown=1001:1001 /app/.next/standalone ./
41
  COPY --from=builder --link --chown=1001:1001 /app/.next/static ./.next/static
 
34
  addgroup --system --gid 1001 nodejs; \
35
  adduser --system --uid 1001 nextjs
36
 
 
 
37
  # Automatically leverage output traces to reduce image size
38
  COPY --from=builder --link --chown=1001:1001 /app/.next/standalone ./
39
  COPY --from=builder --link --chown=1001:1001 /app/.next/static ./.next/static
next.config.mjs CHANGED
@@ -1,4 +1,8 @@
1
  /** @type {import('next').NextConfig} */
2
- const nextConfig = {};
3
-
4
- export default nextConfig;
 
 
 
 
 
1
  /** @type {import('next').NextConfig} */
2
+ const nextConfig = {
3
+ output: "standalone",
4
+ reactStrictMode: true,
5
+ };
6
+
7
+ export default nextConfig;
8
+