My personal site. theclashfruit.me
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: remove docker stuff

+1 -188
-107
.dockerignore
··· 1 - # Dependencies (installed inside Docker, never copied) 2 - node_modules/ 3 - .pnpm-store/ 4 - npm-debug.log* 5 - yarn-debug.log* 6 - yarn-error.log* 7 - pnpm-debug.log* 8 - lerna-debug.log* 9 - 10 - # Next.js build outputs (always generated during `next build`) 11 - .next/ 12 - out/ 13 - dist/ 14 - build/ 15 - .vercel/ 16 - 17 - # Tests and testing output (not needed in production images) 18 - coverage/ 19 - .nyc_output/ 20 - __tests__/ 21 - __mocks__/ 22 - jest/ 23 - cypress/ 24 - cypress/screenshots/ 25 - cypress/videos/ 26 - playwright-report/ 27 - test-results/ 28 - .vitest/ 29 - vitest.config.* 30 - jest.config.* 31 - cypress.config.* 32 - playwright.config.* 33 - *.test.* 34 - *.spec.* 35 - 36 - # Local development and editor files 37 - .git/ 38 - .gitignore 39 - .gitattributes 40 - .vscode/ 41 - .idea/ 42 - *.swp 43 - *.swo 44 - *~ 45 - *.log 46 - 47 - # Environment variables (only commit template files) 48 - .env 49 - .env*.local 50 - .env.development 51 - .env.test 52 - .env.production.local 53 - 54 - # Docker configuration files (not needed inside build context) 55 - Dockerfile* 56 - .dockerignore 57 - compose.yaml 58 - compose.yml 59 - docker-compose*.yaml 60 - docker-compose*.yml 61 - 62 - # Documentation 63 - *.md 64 - docs/ 65 - 66 - # CI/CD configuration files 67 - .github/ 68 - .gitlab-ci.yml 69 - .travis.yml 70 - .circleci/ 71 - Jenkinsfile 72 - 73 - # Cache directories and temporary data 74 - .cache/ 75 - .parcel-cache/ 76 - .eslintcache 77 - .stylelintcache 78 - .swc/ 79 - .turbo/ 80 - .tmp/ 81 - .temp/ 82 - 83 - # TypeScript build metadata 84 - *.tsbuildinfo 85 - 86 - # Sensitive or unnecessary configuration files 87 - *.pem 88 - .editorconfig 89 - .prettierrc* 90 - prettier.config.* 91 - .eslintrc* 92 - eslint.config.* 93 - .stylelintrc* 94 - stylelint.config.* 95 - .babelrc* 96 - *.iml 97 - *.ipr 98 - *.iws 99 - 100 - # OS-specific junk 101 - .DS_Store 102 - ._* 103 - .Spotlight-V100 104 - .Trashes 105 - ehthumbs.db 106 - Thumbs.db 107 - Desktop.ini
-52
Dockerfile
··· 1 - ARG NODE_VERSION=lts-alpine 2 - 3 - # Dependencies 4 - FROM node:${NODE_VERSION} AS dependencies 5 - 6 - WORKDIR /app 7 - 8 - COPY package.json yarn.lock* package-lock.json* pnpm-lock.yaml* .npmrc* ./ 9 - 10 - RUN corepack enable pnpm 11 - RUN --mount=type=cache,target=/root/.local/share/pnpm/store \ 12 - pnpm install --frozen-lockfile 13 - 14 - # Build 15 - FROM node:${NODE_VERSION} AS builder 16 - 17 - WORKDIR /app 18 - 19 - COPY --from=dependencies /app/node_modules ./node_modules 20 - COPY . . 21 - 22 - ENV NODE_ENV=production 23 - ENV NEXT_TELEMETRY_DISABLED=1 24 - 25 - RUN corepack enable pnpm 26 - RUN pnpm build 27 - 28 - # Runner 29 - FROM node:${NODE_VERSION} AS runner 30 - 31 - WORKDIR /app 32 - 33 - ENV NODE_ENV=production 34 - ENV NEXT_TELEMETRY_DISABLED=1 35 - 36 - COPY --from=builder --chown=node:node /app/.drizzle ./.drizzle 37 - COPY --from=builder --chown=node:node /app/drizzle.config.ts ./ 38 - 39 - COPY --from=builder --chown=node:node /app/public ./public 40 - 41 - RUN mkdir .next 42 - RUN chown node:node .next 43 - 44 - COPY --from=builder --chown=node:node /app/.next/standalone ./ 45 - COPY --from=builder --chown=node:node /app/.next/static ./.next/static 46 - COPY --from=builder --chown=node:node /app/.next/cache ./.next/cache 47 - 48 - USER node 49 - 50 - EXPOSE 3000 51 - 52 - CMD ["node", "server.js"]
-27
docker-compose.yml
··· 1 - services: 2 - website: 3 - build: 4 - context: . 5 - dockerfile: Dockerfile 6 - depends_on: 7 - - db 8 - container_name: website 9 - environment: 10 - - NODE_ENV=production 11 - - DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@db:5432/${DB_NAME} 12 - ports: 13 - - '${APP_PORT}:3000' 14 - restart: unless-stopped 15 - db: 16 - image: postgres 17 - shm_size: 128mb 18 - environment: 19 - - POSTGRES_USER=${DB_USER} 20 - - POSTGRES_PASSWORD=${DB_PASSWORD} 21 - - POSTGRES_DB=${DB_NAME} 22 - volumes: 23 - - tcf_web_pg:/var/lib/postgresql/ 24 - restart: unless-stopped 25 - 26 - volumes: 27 - tcf_web_pg:
-1
next.config.ts
··· 3 3 import type { NextConfig } from 'next'; 4 4 5 5 const nextConfig: NextConfig = { 6 - output: 'standalone', 7 6 pageExtensions: ['js', 'jsx', 'md', 'mdx', 'ts', 'tsx'], 8 7 turbopack: { 9 8 rules: {
+1 -1
package.json
··· 1 1 { 2 2 "name": "website", 3 3 "version": "0.1.0", 4 - "private": true, 5 4 "scripts": { 6 5 "dev": "next dev", 7 6 "build": "next build", 8 7 "start": "next start", 9 8 "lint": "eslint" 10 9 }, 10 + "packageManager": "pnpm@10.32.1", 11 11 "dependencies": { 12 12 "@icons-pack/react-simple-icons": "^13.12.0", 13 13 "@lucide/lab": "^0.1.2",