Updated docker tracker update.

This commit is contained in:
Mike Cao 2022-08-09 13:36:24 -07:00
parent 6cfe910ba9
commit d556806c64
2 changed files with 2 additions and 2 deletions

View File

@ -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
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/prisma ./prisma
COPY --from=builder /app/scripts ./scripts

View File

@ -14,5 +14,5 @@ if (endPoint) {
tracker.toString().replace(/"\/api\/collect"/g, `"${endPoint}"`),
);
console.log(`Updated tracker endpoint with "${endPoint}"`);
console.log(`Updated tracker endpoint: ${endPoint}.`);
}