diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 0519e74..2b88ddf 100755 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -7,8 +7,8 @@ WORKDIR /app #RUN yarn install --frozen-lockfile # If using npm with a `package-lock.json` comment out above and use below instead - COPY package.json package-lock.json ./ - RUN npm ci +COPY package.json package-lock.json ./ +RUN npm ci # Rebuild the source code only when needed FROM node:21-alpine AS builder @@ -19,7 +19,7 @@ COPY . . # Next.js collects completely anonymous telemetry data about general usage. # Learn more here: https://nextjs.org/telemetry # Uncomment the following line in case you want to disable telemetry during the build. -# ENV NEXT_TELEMETRY_DISABLED 1 +ENV NEXT_TELEMETRY_DISABLED 1 #RUN yarn build diff --git a/next.config.js b/next.config.js index e69de29..7d85bef 100755 --- a/next.config.js +++ b/next.config.js @@ -0,0 +1,3 @@ +module.exports = { + output: 'standalone', + } \ No newline at end of file