···11-FROM node:18-alpine AS base
22-33-# Install dependencies only when needed
44-FROM base AS deps
55-# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
66-RUN apk add --no-cache libc6-compat
77-WORKDIR /app
88-99-# Install dependencies based on the preferred package manager
1010-COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* ./
1111-RUN \
1212- if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
1313- elif [ -f package-lock.json ]; then npm ci; \
1414- elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm i --frozen-lockfile; \
1515- else echo "Lockfile not found." && exit 1; \
1616- fi
1717-1818-1919-# Rebuild the source code only when needed
2020-FROM base AS builder
2121-WORKDIR /app
2222-COPY --from=deps /app/node_modules ./node_modules
2323-COPY . .
2424-2525-# Next.js collects completely anonymous telemetry data about general usage.
2626-# Learn more here: https://nextjs.org/telemetry
2727-# Uncomment the following line in case you want to disable telemetry during the build.
2828-# ENV NEXT_TELEMETRY_DISABLED 1
2929-3030-RUN \
3131- if [ -f yarn.lock ]; then yarn run build; \
3232- elif [ -f package-lock.json ]; then npm run build; \
3333- elif [ -f pnpm-lock.yaml ]; then corepack enable pnpm && pnpm run build; \
3434- else echo "Lockfile not found." && exit 1; \
3535- fi
3636-3737-# Production image, copy all the files and run next
3838-FROM base AS runner
3939-WORKDIR /app
4040-4141-ENV NODE_ENV production
4242-# Uncomment the following line in case you want to disable telemetry during runtime.
4343-# ENV NEXT_TELEMETRY_DISABLED 1
4444-4545-RUN addgroup --system --gid 1001 nodejs
4646-RUN adduser --system --uid 1001 nextjs
4747-4848-COPY --from=builder /app/public ./public
4949-5050-# Set the correct permission for prerender cache
5151-RUN mkdir .next
5252-RUN chown nextjs:nodejs .next
5353-5454-# Automatically leverage output traces to reduce image size
5555-# https://nextjs.org/docs/advanced-features/output-file-tracing
5656-COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
5757-COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
5858-5959-USER nextjs
6060-6161-EXPOSE 3000
6262-6363-ENV PORT 3000
6464-6565-# server.js is created by next build from the standalone output
6666-# https://nextjs.org/docs/pages/api-reference/next-config-js/output
6767-CMD HOSTNAME="0.0.0.0" node server.js
+8-6
README.md
···11## True Tracker
2233+[](https://app.netlify.com/projects/true-tracker/deploys)
44+35The website [true-tracker](https://true-tracker.trueberryless.org) allows you to track your time spent on different projects. To further organize your projects there are also this thing called "tasks" which are basically subfolders of projects with extra features.
4657## Features
6879The key features of this software are listed below:
81099-- **Privacy**:
1010- All data is only stored locally, which means that nothing is shared via the internet which makes using the app 100% safe (as long as your own computer isn't hacked of course).
1111+- **Privacy**:
1212+ All data is only stored locally, which means that nothing is shared via the internet which makes using the app 100% safe (as long as your own computer isn't hacked of course).
11131212-- **OSS**:
1313- The whole source code is completely open source which means that everybody can look into and improve the code we are developing. Furthermore, the GPL-3.0 licence ensures that every fork of this code must also be open source forever. Nice!
1414+- **OSS**:
1515+ The whole source code is completely open source which means that everybody can look into and improve the code we are developing. Furthermore, the GPL-3.0 licence ensures that every fork of this code must also be open source forever. Nice!
14161515-- **Clean design**:
1616- Thanks to the wonderful [shadcn/ui](https://ui.shadcn.com/) the website looks clean and minimalistic with consistent design through and through.
1717+- **Clean design**:
1818+ Thanks to the wonderful [shadcn/ui](https://ui.shadcn.com/) the website looks clean and minimalistic with consistent design through and through.
17191820## Star History
1921