Updated docker tracker update.
parent
6cfe910ba9
commit
d556806c64
|
@ -36,7 +36,7 @@ RUN yarn add npm-run-all dotenv prisma
|
||||||
|
|
||||||
# You only need to copy next.config.js if you are NOT using the default configuration
|
# You only need to copy next.config.js if you are NOT using the default configuration
|
||||||
COPY --from=builder /app/next.config.js .
|
COPY --from=builder /app/next.config.js .
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||||
COPY --from=builder /app/package.json ./package.json
|
COPY --from=builder /app/package.json ./package.json
|
||||||
COPY --from=builder /app/prisma ./prisma
|
COPY --from=builder /app/prisma ./prisma
|
||||||
COPY --from=builder /app/scripts ./scripts
|
COPY --from=builder /app/scripts ./scripts
|
||||||
|
|
|
@ -14,5 +14,5 @@ if (endPoint) {
|
||||||
tracker.toString().replace(/"\/api\/collect"/g, `"${endPoint}"`),
|
tracker.toString().replace(/"\/api\/collect"/g, `"${endPoint}"`),
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(`Updated tracker endpoint with "${endPoint}"`);
|
console.log(`Updated tracker endpoint: ${endPoint}.`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue