External DB init changes

This commit is contained in:
James Pattinson
2025-12-04 18:29:09 +00:00
parent b6ad496cf0
commit 3780b3cf2f
4 changed files with 47 additions and 16 deletions

View File

@@ -19,11 +19,12 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Make entrypoint executable
RUN chmod +x /app/entrypoint.sh
# Make scripts executable
RUN chmod +x /app/entrypoint.sh && \
chmod +x /app/seed_data.py
# Expose port
EXPOSE 8000
# Use entrypoint script
ENTRYPOINT ["/app/entrypoint.sh"]
ENTRYPOINT ["/bin/bash", "/app/entrypoint.sh"]