Skip to content

Commit

Permalink
Add .dockerignore
Browse files Browse the repository at this point in the history
  • Loading branch information
parkm2ngyu00 committed Aug 21, 2024
1 parent 8f5eb70 commit cb6d416
Show file tree
Hide file tree
Showing 4 changed files with 142 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
working-directory: ./frontend
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
98 changes: 98 additions & 0 deletions backend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Python bytecode
__pycache__
*.pyc
*.pyo
*.pyd

# Python virtual environment
venv/
*.venv
env/
*.env

# Django stuff
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Static files
/static
/media

# Secret key
*.secret

# Development and IDE files
.vscode/
.idea/
*.swp
*.swo

# Test coverage
htmlcov/
.coverage
.coverage.*
.cache

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
1 change: 0 additions & 1 deletion backend/users/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class Meta:
fields = ("name", "avatar", "username")



class PrivateUserSerializer(ModelSerializer):

class Meta:
Expand Down
43 changes: 43 additions & 0 deletions frontend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Dependencies
/node_modules
/.pnp
.pnp.js

# Testing
/coverage

# Production
/build

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.swp
*.swo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

0 comments on commit cb6d416

Please sign in to comment.