diff --git a/CHANGELOG.md b/CHANGELOG.md index 6021f1c..7bc1098 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.1] - 2026-03-25 +### Fixed +- Fixed legacy `ENV` syntax warnings in frontend Dockerfile by updating to modern `key=value` format + ## [1.0.0] - 2026-03-24 ### Added - Cloudflare tunnel support for secure external access diff --git a/frontend/Dockerfile b/frontend/Dockerfile index ea80869..ee6b48d 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,14 +1,13 @@ FROM node:20-alpine AS base +RUN npm install -g pnpm@latest + # Install dependencies only when needed FROM base AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR /app -# Install pnpm using corepack -RUN corepack enable pnpm - # Install dependencies based on the preferred package manager COPY package.json pnpm-lock.yaml* ./ RUN pnpm i --frozen-lockfile @@ -23,7 +22,7 @@ COPY . . # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED=1 # If using Next.js standalone output, ensure output: 'standalone' is in next.config.ts RUN pnpm build @@ -32,8 +31,8 @@ RUN pnpm build FROM base AS runner WORKDIR /app -ENV NODE_ENV production -ENV NEXT_TELEMETRY_DISABLED 1 +ENV NODE_ENV=production +ENV NEXT_TELEMETRY_DISABLED=1 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs @@ -48,8 +47,8 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static USER nextjs EXPOSE 3000 -ENV PORT 3000 +ENV PORT=3000 # set hostname to localhost -ENV HOSTNAME "0.0.0.0" +ENV HOSTNAME="0.0.0.0" CMD ["node", "server.js"]