restructure project with seperate app/ and notebooks/ sub directories

This commit is contained in:
hpayer committed 2026-10-08 14:11:40 -04:00
1 parent 2ac6ac005a
commit d5da086e66
16 files changed
+40 -14

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
POETRY_VIRTUALENVS_CREATE=false \
POETRY_NO_INTERACTION=1 \
POETRY_REQUESTS_TIMEOUT=120 \
POETRY_INSTALLER_MAX_WORKERS=4
WORKDIR /app
RUN pip install --no-cache-dir poetry
# Dependencies first, for layer caching
COPY pyproject.toml poetry.lock ./
RUN --mount=type=cache,target=/root/.cache/pypoetry \
poetry install --only main --no-root --no-ansi
COPY .. .
EXPOSE 8000
CMD ["uvicorn", "app.museum_api:app", "--host", "0.0.0.0", "--port", "8000"]