mirror of
https://github.com/M4X809/list-of-lp.git
synced 2025-12-25 19:12:48 +00:00
Update Dockerfile to replace next.config.js with next.config.ts
- Changed the Dockerfile to copy next.config.ts instead of next.config.js, aligning with TypeScript configuration. - Removed unnecessary copies of bunScripts and env.js to streamline the build process.
This commit is contained in:
parent
a223b75926
commit
a93efe5150
1 changed files with 2 additions and 5 deletions
|
|
@ -15,8 +15,7 @@ WORKDIR /app
|
||||||
# Copy dependencies and config files
|
# Copy dependencies and config files
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
COPY --from=deps /app/package.json ./
|
COPY --from=deps /app/package.json ./
|
||||||
COPY --from=deps /app/bunfig.toml ./
|
COPY --from=deps /app/next.config.ts ./
|
||||||
COPY --from=deps /app/next.config.js ./
|
|
||||||
|
|
||||||
# Copy source code
|
# Copy source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
@ -44,9 +43,7 @@ COPY --from=builder /app/.next/static ./.next/static
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
COPY --from=builder /app/node_modules ./node_modules
|
COPY --from=builder /app/node_modules ./node_modules
|
||||||
COPY --from=builder /app/package.json ./
|
COPY --from=builder /app/package.json ./
|
||||||
COPY --from=builder /app/src/env.js ./src/env.js
|
COPY --from=builder /app/next.config.ts ./
|
||||||
COPY --from=builder /app/next.config.js ./
|
|
||||||
COPY --from=builder /app/bunScripts ./bunScripts
|
|
||||||
|
|
||||||
ENV TZ="CET"
|
ENV TZ="CET"
|
||||||
ENV LANG="de_DE.UTF-8"
|
ENV LANG="de_DE.UTF-8"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue