Browse Source

fix: update Dockerfile to remove unnecessary files from release and change next.config.js to next.config.ts in turbo.json

Yuki Takei 3 weeks ago
parent
commit
af37026bf3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      apps/app/docker/Dockerfile
  2. 1 1
      apps/app/turbo.json

+ 1 - 1
apps/app/docker/Dockerfile

@@ -97,7 +97,7 @@ RUN bash apps/app/bin/assemble-prod.sh
 RUN mkdir -p /tmp/release/apps/app && \
   cp package.json /tmp/release/ && \
   cp -a apps/app/.next apps/app/config apps/app/dist apps/app/public \
-       apps/app/resource apps/app/tmp apps/app/next.config.js \
+       apps/app/resource apps/app/tmp \
        apps/app/package.json apps/app/node_modules \
        /tmp/release/apps/app/ && \
   (cp apps/app/.env.production* /tmp/release/apps/app/ 2>/dev/null || true)

+ 1 - 1
apps/app/turbo.json

@@ -27,7 +27,7 @@
       "dependsOn": ["^build", "pre:styles-commons", "pre:styles-components"],
       "outputs": [".next/**", "!.next/cache/**", "dist/**"],
       "inputs": [
-        "next.config.js",
+        "next.config.ts",
         "config/**",
         "public/**",
         "resource/**",