Fix DB issues
This commit is contained in:
@@ -17,6 +17,13 @@ COPY shared/ /app/shared/
|
||||
# Copy application code
|
||||
COPY services/alert_processor/app/ /app/app/
|
||||
|
||||
# Copy migrations and alembic config
|
||||
COPY services/alert_processor/migrations/ /app/migrations/
|
||||
COPY services/alert_processor/alembic.ini /app/alembic.ini
|
||||
|
||||
# Copy scripts directory
|
||||
COPY scripts/ /app/scripts/
|
||||
|
||||
# Create non-root user
|
||||
RUN useradd -m -u 1000 appuser && chown -R appuser:appuser /app
|
||||
USER appuser
|
||||
|
||||
Reference in New Issue
Block a user