Skip to content

Commit

Permalink
Add automatic copy of tracing files in next.config.js; Update product…
Browse files Browse the repository at this point in the history
…ion Dockerfile
  • Loading branch information
Shivam Naik committed Apr 13, 2024
1 parent 8b52e02 commit 613b85a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
output: 'standalone',
}

0 comments on commit 613b85a

Please sign in to comment.