Skip to content

Commit

Permalink
Merge branch 'development' into fix/fixed-content-gathering
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovik authored Jan 15, 2025
2 parents 10a69cc + 08124c1 commit 447b7ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ ENV PYTHONUNBUFFERED 1

RUN apt-get update && \
apt-get install -y python3 \
python3-venv \
python3-dev \
python3-pip && \
python3-venv \
python3-dev \
python3-pip && \
pip install "poetry==1.6.1" && \
python3 -m venv /opt/venv

Expand Down Expand Up @@ -49,6 +49,9 @@ ENV PATH="/opt/venv/bin:$PATH"

USER appuser

HEALTHCHECK --interval=10s --timeout=5s --start-period=30s --retries=6 \
CMD wget --no-verbose --tries=1 --spider http://localhost:5000/health || exit 1

# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
EXPOSE 5000
CMD ["uvicorn", "aidial_analytics_realtime.app:app", "--host", "0.0.0.0", "--port", "5000"]
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 447b7ec

Please sign in to comment.