add start.sh script in dockerfiles
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 24m31s

This commit is contained in:
Roger Oriol
2026-02-08 14:38:00 +01:00
parent 0060430428
commit 5215cd9b75
2 changed files with 5 additions and 1 deletions

View File

@@ -15,6 +15,10 @@ RUN pip install --no-cache-dir -r requirements.txt
# Copy application code # Copy application code
COPY src/ ./src/ COPY src/ ./src/
# Copy start script
COPY start.sh .
RUN chmod +x start.sh
# Create data directory for myorg repo # Create data directory for myorg repo
RUN mkdir -p /data/myorg RUN mkdir -p /data/myorg

View File

@@ -5,4 +5,4 @@
python -m src.main web & python -m src.main web &
# Start Discord bot in foreground # Start Discord bot in foreground
#python -m src.main bot python -m src.main bot