Refactor Dockerfile to improve file copying; remove .dockerignore; update mkdocs.yml for mkdocstrings configuration; adjust documentation requirements.

This commit is contained in:
Christian Krakau-Louis
2025-05-13 12:08:26 +02:00
parent 9c2c9b4827
commit 04adfea0d0
5 changed files with 6 additions and 26 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ RUN pip install --no-cache-dir -r requirements.txt
# The .dockerignore file ensures we only include what's specified
COPY musicround/ ./musicround/
COPY migrations/ ./migrations/
COPY run_migration.py run.py docker-entrypoint.sh LICENSE favicon.ico ./
COPY run_migration.py run.py docker-entrypoint.sh LICENSE favicon.ico .
# Make the entrypoint script executable
RUN chmod +x docker-entrypoint.sh
@@ -31,4 +31,4 @@ ENV PYTHONPATH=/app
ENV FLASK_APP=run.py
# Use the entrypoint script
ENTRYPOINT ["./docker-entrypoint.sh"]
CMD ["./docker-entrypoint.sh"]