diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index b5ffcdd..0000000 --- a/.dockerignore +++ /dev/null @@ -1,21 +0,0 @@ -# Exclude everything by default -* -# Then explicitly include only what we need - -# Core application files -!musicround/ -!migrations/ -!run_migration.py -!run.py -!requirements.txt -!docker-entrypoint.sh -!LICENSE -!favicon.ico - -# Exclude unnecessary files within included directories -**/__pycache__/ -**/*.pyc -**/*.pyo -**/*.pyd -**/.* -musicround/mp3/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 8d3865a..c55f8f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +CMD ["./docker-entrypoint.sh"] \ No newline at end of file diff --git a/blafasel b/blafasel deleted file mode 100644 index bf3eb41..0000000 --- a/blafasel +++ /dev/null @@ -1 +0,0 @@ -blafase diff --git a/docs/requirements.txt b/docs/requirements.txt index f880c5f..35d694d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,6 +2,6 @@ mkdocs>=1.4.0 mkdocs-material>=9.0.0 mkdocstrings>=0.21.0 -mkdocstrings-python>=1.0.0 +mkdocstrings-python>=1.0.0,<2.0.0 pymdown-extensions>=9.0 Pygments>=2.14.0 \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 9e34cc4..0a25657 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -23,9 +23,11 @@ theme: plugins: - search - mkdocstrings: + default_handler: python handlers: python: - docstring_style: google + options: + docstring_style: google markdown_extensions: - admonition