Working docker file.

This commit is contained in:
Patrick Fic
2025-11-04 14:43:37 -08:00
parent de883bd483
commit 6a1f02c3cb
5 changed files with 100 additions and 10 deletions

View File

@@ -0,0 +1,24 @@
# Development override - automatically used by docker compose
# This file enables hot reloading and development features
services:
ims:
build:
dockerfile: Dockerfile.dev
volumes:
# Mount source code for hot reloading
- .:/usr/src/app
- /usr/src/app/node_modules # Prevent overwriting node_modules
- "/Users/pfic/Desktop/IMS:/media"
- "./logs:/usr/src/app/logs"
environment:
- NODE_ENV=development
- PORT=8000
- MEDIA_PATH=/media
- DUPLICATE_BILL_TO_VENDOR=false
- IMS_TOKEN=
- CONVERT_QUALITY=0.5
- KEEP_CONVERTED_ORIGINALS=TRUE
# command: redis-server && npm run server # Use nodemon for hot reloading
stdin_open: true
tty: true