diff --git a/backend/.dockerignore b/backend/.dockerignore index 57081d3..b7508fd 100644 --- a/backend/.dockerignore +++ b/backend/.dockerignore @@ -1,6 +1,147 @@ -node_modules -dist -npm-debug.log -Dockerfile +# ============================================================================ +# Git & Version Control +# ============================================================================ +.git +.gitea +.github +.gitlab +.gitattributes +.gitignore +.pre-commit-config.yaml + +# ============================================================================ +# IDE & Editor +# ============================================================================ +.vscode/ +.idea/ +*.swp +*.swo +*~ +.DS_Store +Thumbs.db +*.sublime-project +*.sublime-workspace +.editorconfig + +# ============================================================================ +# Documentation & Configuration +# ============================================================================ +README.md +CHANGELOG.md +ARCHITECTURE.md +DEVELOPMENT.md +LICENSE +LICENSE.md +CONTRIBUTING.md +.prettierrc* +.eslintrc* +.stylelintrc* + +# ============================================================================ +# Build & Distribution +# ============================================================================ +dist/ +build/ +out/ +coverage/ +.next/ +.nuxt/ +*.tsbuildinfo + +# ============================================================================ +# Testing +# ============================================================================ +__tests__/ +__test__/ +test/ +tests/ +*.test.js +*.spec.js +.coverage +.nyc_output/ +jest.config.js +karma.conf.js + +# ============================================================================ +# Environment & Secrets +# ============================================================================ .env .env.local +.env.*.local +.env.test +.env.production +.envrc +.env-cmdrc.json +.secrets/ +*.pem +*.key +*.crt +*.p12 +*.pfx + +# ============================================================================ +# Temporary & Cache Files +# ============================================================================ +tmp/ +temp/ +.tmp/ +.cache/ +*.tmp +*.temp +.DS_Store +Thumbs.db +ehthumbs.db + +# ============================================================================ +# Logs +# ============================================================================ +*.log +logs/ +log/ + +# ============================================================================ +# Database & Data +# ============================================================================ +postgres_data/ +database_backups/ +*.db +*.sqlite +*.sqlite3 +*.sql +*.sql.gz + +# ============================================================================ +# Docker & Container Files (these files should not be in the container) +# ============================================================================ +Dockerfile +docker-compose*.yml +.dockerignore +.docker/ + +# ============================================================================ +# CI/CD +# ============================================================================ +.github/ +.gitlab-ci.yml +.circleci/ +Jenkinsfile +.travis.yml +.appveyor.yml +azure-pipelines.yml +.drone.yml + +# ============================================================================ +# Misc +# ============================================================================ +tsconfig.json +babel.config.js +webpack.config.js +rollup.config.js +gulpfile.js +Makefile +.nvmrc +.node-version +.npmrc + + +node_modules diff --git a/frontend/.dockerignore b/frontend/.dockerignore index cf982c6..b7508fd 100644 --- a/frontend/.dockerignore +++ b/frontend/.dockerignore @@ -1,4 +1,147 @@ -node_modules -dist -npm-debug.log +# ============================================================================ +# Git & Version Control +# ============================================================================ +.git +.gitea +.github +.gitlab +.gitattributes +.gitignore +.pre-commit-config.yaml + +# ============================================================================ +# IDE & Editor +# ============================================================================ +.vscode/ +.idea/ +*.swp +*.swo +*~ +.DS_Store +Thumbs.db +*.sublime-project +*.sublime-workspace +.editorconfig + +# ============================================================================ +# Documentation & Configuration +# ============================================================================ +README.md +CHANGELOG.md +ARCHITECTURE.md +DEVELOPMENT.md +LICENSE +LICENSE.md +CONTRIBUTING.md +.prettierrc* +.eslintrc* +.stylelintrc* + +# ============================================================================ +# Build & Distribution +# ============================================================================ +dist/ +build/ +out/ +coverage/ +.next/ +.nuxt/ +*.tsbuildinfo + +# ============================================================================ +# Testing +# ============================================================================ +__tests__/ +__test__/ +test/ +tests/ +*.test.js +*.spec.js +.coverage +.nyc_output/ +jest.config.js +karma.conf.js + +# ============================================================================ +# Environment & Secrets +# ============================================================================ +.env +.env.local +.env.*.local +.env.test +.env.production +.envrc +.env-cmdrc.json +.secrets/ +*.pem +*.key +*.crt +*.p12 +*.pfx + +# ============================================================================ +# Temporary & Cache Files +# ============================================================================ +tmp/ +temp/ +.tmp/ +.cache/ +*.tmp +*.temp +.DS_Store +Thumbs.db +ehthumbs.db + +# ============================================================================ +# Logs +# ============================================================================ +*.log +logs/ +log/ + +# ============================================================================ +# Database & Data +# ============================================================================ +postgres_data/ +database_backups/ +*.db +*.sqlite +*.sqlite3 +*.sql +*.sql.gz + +# ============================================================================ +# Docker & Container Files (these files should not be in the container) +# ============================================================================ Dockerfile +docker-compose*.yml +.dockerignore +.docker/ + +# ============================================================================ +# CI/CD +# ============================================================================ +.github/ +.gitlab-ci.yml +.circleci/ +Jenkinsfile +.travis.yml +.appveyor.yml +azure-pipelines.yml +.drone.yml + +# ============================================================================ +# Misc +# ============================================================================ +tsconfig.json +babel.config.js +webpack.config.js +rollup.config.js +gulpfile.js +Makefile +.nvmrc +.node-version +.npmrc + + +node_modules diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 6fd60e9..bdc224a 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -16,7 +16,7 @@ ENV VITE_API_BASE_URL=$VITE_API_BASE_URL COPY --from=deps /app/node_modules node_modules COPY package.json package.json COPY vite.config.js vite.config.js -COPY public public +#COPY public public COPY src src COPY index.html index.html RUN npm run build