Compare commits
2 Commits
1d50a9d2bc
...
9051256b11
| Author | SHA1 | Date |
|---|---|---|
|
|
9051256b11 | |
|
|
d0487d7763 |
|
|
@ -28,5 +28,5 @@ htmlcov/
|
|||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
|
||||
|
||||
# Generated Git Info
|
||||
.git_*_info
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ COPY README.md ./
|
|||
COPY docs/accupedia_db_v5.sql /app/schema/accupedia_db_v5.sql
|
||||
COPY app ./app
|
||||
|
||||
# Copy git info metadata if generated on host
|
||||
COPY .git_api_info* /app/.git_api_info
|
||||
|
||||
# Install project and CLI scripts into PATH
|
||||
RUN pip install --no-cache-dir -e .
|
||||
|
||||
|
|
@ -32,3 +35,4 @@ HEALTHCHECK --interval=30s --timeout=5s --start-period=20s --retries=3 \
|
|||
CMD curl -f http://localhost:8000/ || exit 1
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue