fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Use an official Python runtime as a parent image
|
|
|
|
FROM python:3.11-slim-bullseye
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Set environment variables for Python behavior
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
|
|
PYTHONUNBUFFERED=1 \
|
|
|
|
PIP_NO_CACHE_DIR=1 \
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
|
|
|
PIP_DEFAULT_TIMEOUT=100
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Set the working directory to the root of the project (relative to pyproject.toml)
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Copy the entire project into the container
|
|
|
|
COPY . .
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Install Poetry
|
|
|
|
RUN pip install poetry
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Configure Poetry to avoid virtual environments and install dependencies
|
|
|
|
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Install additional dependencies outside Poetry (e.g., swarms, pytest)
|
|
|
|
RUN pip install swarms pytest
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Ensure pytest is installed and available
|
|
|
|
RUN pytest --version
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Ensure the logs directory has correct permissions (in case of permission issues with mounted volumes)
|
|
|
|
RUN mkdir -p /usr/src/app/logs && chmod -R 777 /usr/src/app/logs
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Ensure that the PATH includes the directory where pytest is installed
|
|
|
|
ENV PATH="/usr/local/bin:$PATH"
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Set the working directory to the tests directory inside the container
|
|
|
|
WORKDIR /usr/src/app/tests
|
|
|
|
|
fix to build and run ci/cd
fix to build and run ci/cd, 2nd attempt
fix to build and run ci/cd, 3rd attempt
fix to build and run ci/cd, 4th attempt
fix to build and run ci/cd, 5th attempt
fix to build and run ci/cd, 6th attempt
fix to build and run ci/cd, 7th attempt
fix to build and run ci/cd, 8th attempt
fix to build and run ci/cd, 9th attempt
fix to build and run ci/cd, 10th attempt
fix to build and run ci/cd, 11th attempt
fix to build and run ci/cd, 12th attempt
fix to build and run ci/cd, 13th attempt
fix to build and run ci/cd, 14th attempt
fix to build and run ci/cd, 15th attempt
commit
commit
1 week ago
|
|
|
# Default command to run tests located in the /tests directory
|
|
|
|
CMD pytest /usr/src/app/tests --continue-on-collection-errors --tb=short --disable-warnings | tee /usr/src/app/logs/test_logs.txt
|