-
git clone https://github.com/Hayzedak/hng2.git cd hng2
-
Scout Monitoring
Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
-
# Official Python runtime as a parent image FROM python:3.10 RUN set -xe # Install Poetry RUN curl -sSL https://install.python-poetry.org | python3 - --git https://github.com/python-poetry/poetry.git@master ENV PATH="/root/.local/bin:$PATH" # Confirm poetry version RUN poetry --version # Set up the working directory WORKDIR /app # Copy and install dependencies COPY . /app RUN poetry install EXPOSE 8000 # Start the application CMD ["bash", "-c", "poetry run bash ./prestart.sh && poetry run uvicorn app.main:app --reload --host 0.0.0.0"]