feat: add Dockerfile and .dockerignore, refactor backend to use DATA_DIR for database and uploads
Now able to use docker image
This commit is contained in:
1 parent
3d9f7d2052
commit
9c61bf2e2c
4 files changed
+60
-18
No files matched your search
+2
-9
@@ -8,26 +8,19 @@ dist/
|
||||
frontend/dist/
|
||||
backend/dist/
|
||||
|
||||
# SQLite database and uploads
|
||||
backend/db.sqlite
|
||||
backend/uploads/
|
||||
# Persistent backend data (database and uploads)
|
||||
backend/data/
|
||||
|
||||
# Logs
|
||||
logs/
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/
|
||||
.idea/
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
# Environment files (if any)
|
||||
.env
|
||||
Reference in new issue
Block a user